Opened 7 years ago
Closed 7 years ago
#2906 closed defect (bug) (fixed)
WikiFormatting link on the 'Create New Ticket' form open in new tab
Reported by: | garrett-eclipse | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | has-patch |
Cc: |
Description
Hello,
Can we add a target _blank to the 'WikiFormatting' link on Trac tickets.
Right now it has some js to open in a new tab but doesn't disable the standard click. Would rather it be a target _blank.
Currently, if you just click the link a new tab will open but the current page will also reload, if you have content in your ticket it will ask if you want to reload the page. Or if you cmd/ctrl click the link it will open two tabs to the resource.
Cheers
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
2906.patch adds the missing
return false;
to do that. We already do the same for links in ticket preview, so this ensures consistent behaviour.