Problem/Motivation
When using the admin toolbar search, clicking the links opens the URL in the current tab, and in a new tab.
Seems likely to follow on from #3162112: Make search links openable in new tabs
Steps to reproduce
1. enable admin_toolbar_search
2. type some text in the search box
3. click on the result
Expected result
The link should open in the same window and tab, unless you have chosen to open it in a new window
Actual result
The link opens in the current tab, and in a new tab.
If you use the keyboard arrows and enter key to visit the link, it does not open the extra tab.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | search_links_always_open_new_window _tab.patch | 838 bytes | al_trottier |
| #6 | 3420788-admin_toolbar-links_same_tab.mp4 | 4.14 MB | marcoliver |
| #4 | IssueStillPresent.mov | 2.16 MB | divya.sejekan |
Issue fork admin_toolbar-3420788
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
malcomio commentedComment #4
divya.sejekan commented@malcomio Tested using MR 3.x and also 3420788-search-links-always . The issue is not fixed, still I can see the search links are opening in both the current and new tab
Comment #6
marcoliverSynced
3.xand3420788-search-links-alwaysin the issue fork.Tested the behavior and it looks fine (video attached).
Marking RTBC.
Comment #7
al_trottier commentedAdding a patch with the proposed MR from #2
Comment #8
jannakha commentedpatch in #7 works,
please release new version
Comment #11
japerry