Bug ID: 23601
           Summary: Middle clicking a title from search results creates
                    two tabs or a new tab and a new window in Firefox
 Change sponsored?: ---
           Product: Koha
           Version: 18.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
        QA Contact:

When middle-clicking or ctrl-clicking a title in the results screen of the
staff client, Firefox opens two new tabs.

To reproduce:

1. Use a relatively recent version of Firefox (I've tested this on 68esr and
2. Search for an item in the staff interface
3. From the results screen, middle click or control click a title. 
4. Depending on your Firefox settings, Firefox will open an new window and a
new tab or two new tabs. The popup blocker may also block the opening of these

This appears to be related to the preventdefault() being used here, which
Firefox handles differently than other browsers.

There's the broader discussion of whether there's any need to use
preventdefault() here at all. From the comments in the jquery it appears that
someone thought it wasn't a good idea.

You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to