From: David Cramer Date: Thu, 22 Sep 2011 13:53:41 +0000 (+0000) Subject: Removing onclick that came from Oxygen's dita stuff X-Git-Tag: release/1.79.1~6^2~684 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20f1bcdaca089cb7d9018cc57a405d3cfd25be0e;p=docbook-dsssl Removing onclick that came from Oxygen's dita stuff --- diff --git a/xsl/webhelp/template/content/search/nwSearchFnt.js b/xsl/webhelp/template/content/search/nwSearchFnt.js index 6b07cb497..062bf7df8 100644 --- a/xsl/webhelp/template/content/search/nwSearchFnt.js +++ b/xsl/webhelp/template/content/search/nwSearchFnt.js @@ -289,8 +289,7 @@ function Effectuer_recherche(expressionInput) { } arrayString = arrayString.substring(0,arrayString.length - 1) + ")"; var idLink = 'foundLink' + no; - var link = 'openAndHighlight(\'' + tempPath + '\', ' + arrayString + ', \'' + idLink + '\')'; - var linkString = '
  • ' + tempTitle + ''; + var linkString = '
  • ' + tempTitle + ''; var starWidth = (ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent) * (numberOfWords/maxNumberOfWords); starWidth = starWidth < 10 ? (starWidth + 5) : starWidth; // Keep the 5 stars format