https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23601

            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
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: bdaeu...@cityoffargo.com
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com

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
69)
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
tabs.

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
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to