Vote #76862
完了Keep anchor (i.e. to a specific issue note) throughout login
0%
説明
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.
journals
Works fine with Firefox, but doesn't work with Chrome 46.
--------------------------------------------------------------------------------
Oh. Any JS errors? Chrome 45 works.
--------------------------------------------------------------------------------
I just checked in Chrome 47 / Linux and had a colleague check Chrome 46 / OSX 10.9 and both worked fine as well.
--------------------------------------------------------------------------------
Sorry, my fault. Committed in r14767, thanks.
--------------------------------------------------------------------------------
Workin' great. Thanks a lot Jean-Philippe :-)
Checked with Chrome 56, IE 11, Firefox 50.1
--------------------------------------------------------------------------------
Admin Redmine さんが約4年前に更新
- カテゴリ を Accounts / authentication_7 にセット
- 対象バージョン を 3.2.0_102 にセット