help3xsl/index2.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ea4a7345bc1cbcbff3fb4355d0e4f4954f8afa7d Author: Olivier Hallot <olivier.hal...@libreoffice.org> Date: Thu Jan 18 22:36:18 2018 -0200 Fix detection of bad help call remove single quotes Change-Id: Ia7951508cbf0a49ae029588e1d254de5f3942f12 Reviewed-on: https://gerrit.libreoffice.org/48165 Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/help3xsl/index2.html b/help3xsl/index2.html index 6f4fc7f39..f30348b98 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits