Owen Leonard
de454ff552
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.moravec@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> |
||
---|---|---|
.. | ||
pages | ||
acq.js | ||
acquisitions-menu.js | ||
additem.js | ||
admin-menu.js | ||
ajax.js | ||
audio_alerts.js | ||
automatic_item_modification_by_age.js | ||
background-job-progressbar.js | ||
basket.js | ||
basketgroup.js | ||
biblio_framework.js | ||
cart.js | ||
catalog.js | ||
cataloging.js | ||
checkouts.js | ||
datatables.js | ||
file-upload.js | ||
holds.js | ||
item_search_fields.js | ||
localcovers.js | ||
marc_modification_templates.js | ||
marc_subfields_structure.js | ||
members-menu.js | ||
members.js | ||
merge-record.js | ||
messaging-preference-form.js | ||
offlinecirc.js | ||
onboarding.js | ||
prevent_submit.js | ||
rotating-collections.js | ||
serials-toolbar.js | ||
showpredictionpattern.js | ||
sms_providers.js | ||
staff-global.js | ||
subscription-add.js | ||
tools-menu.js | ||
xmlControlfield.js | ||
z3950_search.js |