From ea4a7345bc1cbcbff3fb4355d0e4f4954f8afa7d Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Thu, 18 Jan 2018 22:36:18 -0200 Subject: Fix detection of bad help call remove single quotes Change-Id: Ia7951508cbf0a49ae029588e1d254de5f3942f12 Reviewed-on: https://gerrit.libreoffice.org/48165 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot --- help3xsl/index2.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'help3xsl/index2.html') 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 -- cgit