https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19641
--- Comment #20 from Josef Moravec <josef.mora...@gmail.com> --- Created attachment 71292 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71292&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. Signed-off-by: Josef Moravec <josef.mora...@gmail.com> https://bugs.koha-community.org/show_bug.cgi?id=19682 -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/