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

            Bug ID: 42013
           Summary: Confirmation dialog for "Remove all reserves" never
                    shown on course details page
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Course reserves
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

On the course details page (course_reserves/course-details.tt), clicking
"Remove all reserves" skips the confirmation dialog and immediately submits the
form.

The "Remove all reserves" button (#rm_items_button) is an <a> tag separate from
the #rm_items form. 

The click handler on the button calls $("#rm_items").submit() programmatically.
A separate $("#rm_items").click(...) handler was intended to show a
confirmDelete dialog, but it is bound as a click event on the form element,
which is never clicked by the user.

jQuery's .submit() method also does not trigger click events, so the
confirmation is never shown.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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