summaryrefslogtreecommitdiff
path: root/help3xsl/help.js
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r--help3xsl/help.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js
index 8386055269..cd454e6fbe 100644
--- a/help3xsl/help.js
+++ b/help3xsl/help.js
@@ -48,13 +48,16 @@ function setSystem(system) {
}
}
/* add &DbPAR= and &System= to the links in DisplayArea div */
+/* skip for object files */
function fixURL(module, system) {
var itemlink = document.getElementById("DisplayArea").getElementsByTagName("a");
- var pSystem = (system === null) ? "WIN" : system;
+ var pSystem = (system === null) ? getSystem() : system;
var pAppl = (module === null) ? "WRITER" : module;
var n = itemlink.length;
for (var i = 0; i < n; i++) {
+ if (itemlink[i].getAttribute("class") != "objectfiles"){
setURLParam(itemlink[i], pSystem, pAppl);
+ };
}
}
//Set the params inside URL