[Koha-bugs] [Bug 14032] New: Delete item "confirm" only works in Firefox

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 21 06:31:59 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14032

            Bug ID: 14032
           Summary: Delete item "confirm" only works in Firefox
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

If you go to "Edit Items" in the staff client, and then click on "Delete" in
the first table cell, the confirm box will delete the item regardless of the
option you choose. The "cancel" option is completely ignored in Chrome and IE,
but not Firefox.

I know there are those among us who say that we should only ever use Firefox,
but a lot of people use other browsers, especially Chrome. 

Although, honestly I'm surprised that I haven't encountered this before. 

I also can't fix it for all Chrome/Firefox/IE.

I've switched the inline "onclick" to a jQuery click handler and used
"e.preventDefault()", which works in Chrome/Firefox... but not IE.

Which is weird, because it works on other sites in IE:
http://api.jquery.com/event.preventdefault/

I'm fresh out of ideas at the moment, but perhaps I'll look at this one again
eventually...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list