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

            Bug ID: 42012
           Summary: e.preventDefault not called in clubs.tt
                    club_hold_search handler
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Templates
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In clubs/clubs.tt, the .club_hold_search click handler uses e.preventDefault
instead of e.preventDefault(). This was probably a typo or similar in Bug
24393.

This references the method without calling it, so the default anchor action is
never prevented. Since the element is an <a href="#">, clicking "Search to
hold" causes the page to scroll to the top.

-- 
You are receiving this mail because:
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