]> granicus.if.org Git - docbook-dsssl/commitdiff
Removing onclick that came from Oxygen's dita stuff
authorDavid Cramer <david@thingbag.net>
Thu, 22 Sep 2011 13:53:41 +0000 (13:53 +0000)
committerDavid Cramer <david@thingbag.net>
Thu, 22 Sep 2011 13:53:41 +0000 (13:53 +0000)
xsl/webhelp/template/content/search/nwSearchFnt.js

index 6b07cb497acac2e5608ed4e3cd5dd9f5368cc98a..062bf7df878f6e80f56081c072c3d7e1317ba29a 100644 (file)
@@ -289,8 +289,7 @@ function Effectuer_recherche(expressionInput) {
                     }\r
                     arrayString = arrayString.substring(0,arrayString.length - 1) + ")";\r
                     var idLink = 'foundLink' + no;\r
-                    var link = 'openAndHighlight(\'' + tempPath + '\', ' + arrayString + ', \'' + idLink + '\')';\r
-                    var linkString = '<li><a id="' + idLink + '" href="' + tempPath + '" class="foundResult" onclick="'+link+'">' + tempTitle + '</a>';\r
+                    var linkString = '<li><a id="' + idLink + '" href="' + tempPath + '" class="foundResult">' + tempTitle + '</a>';\r
                     var starWidth = (ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent) * (numberOfWords/maxNumberOfWords);\r
                     starWidth = starWidth < 10 ? (starWidth + 5) : starWidth;\r
                     // Keep the 5 stars format\r