diff options
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/help2.js | 5 | ||||
-rw-r--r-- | help3xsl/index2.html | 2 | ||||
-rw-r--r-- | help3xsl/online_transform.xsl | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/help3xsl/help2.js b/help3xsl/help2.js index 95635c8465..f40492afb1 100644 --- a/help3xsl/help2.js +++ b/help3xsl/help2.js @@ -232,9 +232,12 @@ if (document.body.getElementsByTagName('meta')) { } var module = getParameterByName("DbPAR"); -var helpID = getParameterByName("HID"); fixURL(module,system); moduleColor(module); +var helpID = getParameterByName("HID"); +// only used in xhp pages with <help-id-missing/> tags +var missingElement = document.getElementById("bm_HID2"); +if(missingElement != null){missingElement.innerHTML = helpID;} function debugInfo(dbg) { if (dbg == null) return; diff --git a/help3xsl/index2.html b/help3xsl/index2.html index b42007dd5e..5e937f3e2c 100644 --- a/help3xsl/index2.html +++ b/help3xsl/index2.html @@ -53,7 +53,7 @@ } // rebuild URL if (file === undefined) { - var newURL = lang + '/' + defaultFile + '?System=' + system + '&DbPAR=' + module; + var newURL = lang + '/text/shared/05/err_html.html?System=' + system + '&DbPAR=' + module + '&HID=' + bookmark ; } else { var indx = file.indexOf('#'); var bm = file.substr(indx,file.length); diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 6df80b5405..21d37d1b4a 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -812,7 +812,9 @@ </xsl:template> <!-- In case of missing help files --> -<xsl:template match="help-id-missing"><xsl:value-of select="$Id"/></xsl:template> +<xsl:template match="help-id-missing"> +<span id="bm_HID2"></span> +</xsl:template> <!-- ################### |