Patch #21110
closedKeep anchor (i.e. to a specific issue note) throughout login
0%
Description
Problem
When not logged in and following a 'deep' link to a specific issue note, the user is first redirected to the sign in form, and after successful login the user is just sent to the top of the issue page because the anchor (i.e. #note-23
) got lost along the way.
Solution
The anchor is not transferred to the server, so in order to keep it we need to introduce a bit of Javascript to preserve it when the login form is submitted.
Files
Updated by Jean-Philippe Lang about 9 years ago
Works fine with Firefox, but doesn't work with Chrome 46.
Updated by Jens Krämer about 9 years ago
I just checked in Chrome 47 / Linux and had a colleague check Chrome 46 / OSX 10.9 and both worked fine as well.
Updated by Jean-Philippe Lang about 9 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 3.2.0
Sorry, my fault. Committed in r14767, thanks.
Updated by Christian Damen almost 8 years ago
Workin' great. Thanks a lot Jean-Philippe :-)
Checked with Chrome 56, IE 11, Firefox 50.1