diff options
author | Henrik Karlsson <hk.henrik@gmail.com> | 2020-11-27 01:14:05 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.libreoffice.org> | 2020-11-27 01:14:05 +0100 |
commit | b48c89372154fd8d74b740898ba688c265df7314 (patch) | |
tree | 4b7245c416c6f69b9a8994870bae3131717b61a1 /helpcontent2 | |
parent | 8795ae5e992e05dbd24cf03560dddb1fee061522 (diff) |
Update git submodules
* Update helpcontent2 from branch 'libreoffice-7-1'
to d24008f863730b7aa52758df11f605e01941eaa2
- Update redirects to replace the url rather than navigate to a new one
Current links from outside (like the wiki) will cause excess history
entries when clicking the https://help.libreoffice.org/ link,
breaking the back button.
See the example of the visited pages below. Ideally only the referring
page and the final page should be in the history, allowing the user to
navigate back.
1. https://help.libreoffice.org/Main_Page
2. https://help.libreoffice.org/ - 302 redirect
3. https://help.libreoffice.org/help.html - window.location.href
4. https://help.libreoffice.org/latest/index.html - window.location.href
5. https://help.libreoffice.org/latest/en-US/text/shared/05/new_help.html?&DbPAR=WRITER&System=UNIX
The second 302 redirect is fine as it simply replaces the history. The
two window.location.href assigments however should be replaced with
window.location.replace.
Change-Id: I6fbe7141de87c939aa816fdfc2fe5255e9792e0b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/106429
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit e95e2a6d94ac5c08d3821f3da198a7982b7d0af8)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/106680
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'helpcontent2')
m--------- | helpcontent2 | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/helpcontent2 b/helpcontent2 -Subproject c07e293f482776df8f57cf1b7aea014c81ee243 +Subproject d24008f863730b7aa52758df11f605e01941eaa |