summaryrefslogtreecommitdiff
path: root/htroot/ConfigSearchPage_p.html
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2016-11-29 02:56:43 +0100
committerluccioman <luccioman@users.noreply.github.com>2016-11-29 02:56:43 +0100
commit0b4e7795dfad116e525fd0f540ccb88d931e9639 (patch)
tree6a01b9d231e971f8c656de99190a92b0c48712a6 /htroot/ConfigSearchPage_p.html
parent1f4f0eacc2638f1050b096f04468e3edfce2d1e6 (diff)
Fixed JavaScript error "hs.htmlExpand is not a function".
This error occurs on /ConfigSearchPage_p.html and on search results page when Metadata links are enabled. The fix was to remove unnecessary use of hs.htmlExpand() which is now part of highslide-full.js library file, currently not distributed with YaCy (only includes highslide.js). The Metadata links work correctly and the initial dynamic expansion offered by htmlExpand() did not bring much usability.
Diffstat (limited to 'htroot/ConfigSearchPage_p.html')
-rw-r--r--htroot/ConfigSearchPage_p.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.html
index 72a297bbf..87808b43d 100644
--- a/htroot/ConfigSearchPage_p.html
+++ b/htroot/ConfigSearchPage_p.html
@@ -248,7 +248,7 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
<td width="15px"></td>
<td>#[content_showDate_date]#</td>
<td>&nbsp;|&nbsp;42 kbyte</td>
- <td>&nbsp;|&nbsp;<a href="solr/select?q=*:*&defType=edismax&start=0&rows=3&core=collection1&wt=html" target="LayouTest" onclick="return hs.htmlExpand(this, { objectType: 'ajax'} )">Metadata</a></td>
+ <td>&nbsp;|&nbsp;<a href="solr/select?q=*:*&defType=edismax&start=0&rows=3&core=collection1&wt=html" target="LayouTest">Metadata</a></td>
<td>&nbsp;|&nbsp;<a href="ViewFile.html" target="LayouTest">Parser</a></td>
<td>&nbsp;|&nbsp;<a href="api/citation.html?url=yacy.net" target="LayouTest">Citation</a></td>
<td>&nbsp;|&nbsp;<a href="yacysearch.html" target="LayouTest">Pictures</a></td>