summaryrefslogtreecommitdiff
path: root/help3xsl/index2.html
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2020-06-15 16:51:34 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2020-06-17 01:32:48 +0200
commit456d9b054d29362667b0f3acc391c46293312751 (patch)
tree8d6fc1f05a2a940d49a9ca1cdd9770442086d6e8 /help3xsl/index2.html
parent01bf38a8fe1221235a2b32cc5773c49e1228a418 (diff)
Add better 404 error
Missing help pages or links with bad HID were redirected to module entry page, masking the real issue in Help. This patch activated the 404 page and add HID information for debug and fix. Change-Id: I0d55f1c36d9a6c3fab0096d5e3cd171087729691 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96401 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/index2.html')
-rw-r--r--help3xsl/index2.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/help3xsl/index2.html b/help3xsl/index2.html
index b42007dd5e..5e937f3e2c 100644
--- a/help3xsl/index2.html
+++ b/help3xsl/index2.html
@@ -53,7 +53,7 @@
}
// rebuild URL
if (file === undefined) {
- var newURL = lang + '/' + defaultFile + '?System=' + system + '&DbPAR=' + module;
+ var newURL = lang + '/text/shared/05/err_html.html?System=' + system + '&DbPAR=' + module + '&HID=' + bookmark ;
} else {
var indx = file.indexOf('#');
var bm = file.substr(indx,file.length);