Project

General

Profile

Actions

Feature #1069

closed

Open Help in a separate tab

Feature #1069: Open Help in a separate tab

Added by Jon Morrow over 18 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Resolution:
Fixed

Description

The help link in the top menu should launch in a new page. As it currently works if a user clicks this link they are taken to redmine.org. If they then navigate around to find their solution they will have to hit the back button numerous times before they are returned to their project page. I was trying to look into this and provide a patch but do not know ruby at all. I will keep looking into and post said patch if I figure it out. BTW - Great software.


Files

help_menu_in_new_window.txt (837 Bytes) help_menu_in_new_window.txt patch for opening help in a new window Vijay Kiran, 2008-04-24 14:57
1069.patch (1.17 KB) 1069.patch Go MAEDA, 2022-07-11 17:09
1069-v2.patch (1.21 KB) 1069-v2.patch Go MAEDA, 2022-07-12 00:14

Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #13263: Prevent confusion generated by the top Help linkClosedActions

Updated by Vijay Kiran over 18 years ago Actions #1

I'm not sure if this the rightway to do it. But this patch works for me.

Updated by Jon Morrow over 18 years ago Actions #2

Will take a look at this later today! Thanks!!!

Updated by Jon Morrow over 18 years ago Actions #3

Me like thanks!

Updated by Toshi MARUYAMA over 12 years ago Actions #4

  • Related to Feature #13263: Prevent confusion generated by the top Help link added

Updated by Go MAEDA over 4 years ago Actions #5

I think also "Powered by Redmine" link in the footer should open a new tab. Attaching a patch.

Updated by Holger Just over 4 years ago Actions #6

Just adding target="_blank" potentially allows the target of the link to interact with the original site which opened the link via the window.opener property to e.g. load a new page there, resulting in the thread of phishing, credential stealing or worse.

This can be circumvented by adding rel="noopener" to these links. While most modern browsers now implicitly set this for any such links, some do not yet. As such, it is still a safer option to explicitly set this too. In your patch, you can set this with

... :target => '_blank', rel => 'noopener' ...
See https://mathiasbynens.github.io/rel-noopener/ for a description of the original issue and its workarounds.

Updated by Go MAEDA over 4 years ago Actions #7

Holger Just wrote:

This can be circumvented by adding rel="noopener" to these links.

Updated the patch. Thank you for pointing it out.

Updated by Holger Just over 4 years ago Actions #8

Looks good to me!

Updated by Go MAEDA over 4 years ago Actions #9

  • Target version changed from Candidate for next major release to 5.1.0

Setting the target version to 5.1.0.

Updated by Go MAEDA over 4 years ago Actions #10

  • Subject changed from "Help" link should launch new page. to Open Help in a separate tab
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

Updated by Mischa The Evil about 3 years ago Actions #11

  • Start date deleted (2008-04-15)
Actions

Also available in: PDF Atom