diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-01-18 22:36:18 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-08-07 17:51:08 +0200 |
commit | 88f29d91f2048a5b4a3a726ff1cd179c2fd78596 (patch) | |
tree | ae17b6d4331c0fe6dac448dfffa483ea1bdcf5c1 /help3xsl | |
parent | 58b77a9890ab23ed594a03d8a918ac215d46d5da (diff) |
Fix detection of bad help call
remove single quotes
Change-Id: Ia7951508cbf0a49ae029588e1d254de5f3942f12
Reviewed-on: https://gerrit.libreoffice.org/48165
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/index2.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/help3xsl/index2.html b/help3xsl/index2.html index 6f4fc7f39a..f30348b98b 100644 --- a/help3xsl/index2.html +++ b/help3xsl/index2.html @@ -38,10 +38,10 @@ var bookmark = rest.slice(rest.indexOf('/')+1, rest.indexOf('?')); var file = map[bookmark]; // rebuild URL - if (file=='undefined'){ + if (file === undefined){ file = defaultFile; } - var newURL = lang+'/'+file+'?System='+system+'&DbPAR='+module; + var newURL = lang + '/' + file + '?System=' + system + '&DbPAR=' + module; window.open(newURL,'_self'); }else{ // URL came from elsewhere, direct access to webroot, we redirect to main Help page |