http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11817
Bug ID: 11817
Summary: Staff client next/previous browse JavaScript
interferes with other JS functions
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Templates
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The JavaScript which builds the staff client detail page's next/previous links
uses a selector which is too broad:
Line 79: $('a[href*="biblionumber="]').click(function (ev)
This can cause problems with other click events on the page. To reproduce the
error:
1. Log into Koha as a user who has cataloging permissions.
2. Search for a title.
3. View the detail page for a title which has items attached.
4. From the Edit menu choose "Delete record."
At this point you should see an alert warning you that the title cannot be
deleted because it has items attached. However, the page will still proceed to
the delete page (and an error message will appear).
The problem doesn't happen if you navigate directly to a detail page.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/