Project

General

Profile

Actions

Patch #21110

closed

Keep anchor (i.e. to a specific issue note) throughout login

Added by Jens Krämer about 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Accounts / authentication
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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

keep_anchor_on_signin.diff (1.06 KB) keep_anchor_on_signin.diff Jens Krämer, 2015-10-30 06:21
Actions

Also available in: Atom PDF