diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-02-17 17:53:49 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-02-18 11:51:23 +0100 |
commit | 3e86799f1b1e957e442a23022bc12cc25bb0c8a6 (patch) | |
tree | ac1c0cdde56deb5ebeea5b21f2d614954b50c33f /help3xsl | |
parent | 401fb641aff217c7c333ce71d22abcf575d3ed09 (diff) |
tdf#123318 Use SHARED as the default module instead of WRITER
Change-Id: I78c3f71a862ad0896cc13b105cac46dca99b4195
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130079
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/help2.js | 2 | ||||
-rw-r--r-- | help3xsl/index2.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/help3xsl/help2.js b/help3xsl/help2.js index a0cd884470..5b9b2a970b 100644 --- a/help3xsl/help2.js +++ b/help3xsl/help2.js @@ -115,7 +115,7 @@ function fixURL(module, system) { if ((DisplayArea = document.getElementById("DisplayArea")) === null) return; var itemlink = DisplayArea.getElementsByTagName("a"); var pSystem = (system === null) ? getSystem() : system; - var pAppl = (module === null) ? "WRITER" : module; + var pAppl = (module === null) ? "SHARED" : module; var n = itemlink.length; for (var i = 0; i < n; i++) { if (itemlink[i].getAttribute("class") != "objectfiles") { diff --git a/help3xsl/index2.html b/help3xsl/index2.html index f0585c8b8f..c08335e08c 100644 --- a/help3xsl/index2.html +++ b/help3xsl/index2.html @@ -38,7 +38,7 @@ case "smath": {defaultFile='text/smath/main0000.html';module="MATH";break;} case "sdatabase": {defaultFile='text/sdatabase/main.html';module="BASE";break;} case "sbasic": {defaultFile='text/sbasic/shared/main0601.html';module="BASIC";break;} - default: {defaultFile='text/shared/05/new_help.html';module="WRITER";break;} + default: {defaultFile='text/shared/05/new_help.html';module="SHARED";break;} } //Special case of application F1 or menu Help -> LibreOffice Help if (target.indexOf('.uno:HelpIndex') != -1) { @@ -66,7 +66,7 @@ var system = 'WIN'; if (navigator.userAgent.indexOf("Mac") != -1) system = 'MAC'; if (navigator.userAgent.indexOf("Linux") != -1) system = 'UNIX'; - window.location.replace(existingLang(navigator.language) + '/text/shared/05/new_help.html?&DbPAR=WRITER&System=' + system); + window.location.replace(existingLang(navigator.language) + '/text/shared/05/new_help.html?&DbPAR=SHARED&System=' + system); } }); </script> |