[Koha-bugs] [Bug 19641] Move patron templates JavaScript to the footer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 26 14:26:35 CET 2018


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

--- Comment #16 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 70953
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70953&action=edit
Bug 19641: Follow-up - Fix update child menu option

This follow-up corrects handling of clicks on the "Update child" menu
option when the patron is an adult. Previously the click handler was
conditionally added via template markup. This patch modifies it to use
the data-tooltip attribute as an indicator that the option is disabled.

To test, apply the patch and clear your browser cache if necessary.

- Open an adult patron's record for viewing.
- Choose More -> Update child from the toolbar menu.
- The menu item should be disabled, and should show a tooltip.
- Clicking the menu item should do nothing.

- Open a child patron's record for viewing.
- Choose More -> Update child from the toolbar menu.
- The patron should be updated to an adult category.

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


More information about the Koha-bugs mailing list