help3xsl/help2.js    |    2 +-
 help3xsl/index2.html |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 3e86799f1b1e957e442a23022bc12cc25bb0c8a6
Author:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
AuthorDate: Thu Feb 17 17:53:49 2022 +0200
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Fri Feb 18 11:51:23 2022 +0100

    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.hal...@libreoffice.org>

diff --git a/help3xsl/help2.js b/help3xsl/help2.js
index a0cd88447..5b9b2a970 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 f0585c8b8..c08335e08 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>

Reply via email to