summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-02-17 17:53:49 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-02-21 03:32:32 +0100
commit0f12f8a4dcf3b3ee34864d50f06e77d495fb9133 (patch)
treecbd5ba7dfc15d7d781d193cff5e75a0bccd9417c
parent4f095575f54624e289ab78d58a7d9aa61a8f729c (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> (cherry picked from commit 3e86799f1b1e957e442a23022bc12cc25bb0c8a6) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130103 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--help3xsl/help2.js2
-rw-r--r--help3xsl/index2.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/help3xsl/help2.js b/help3xsl/help2.js
index f40492afb1..2c55d774ce 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>