Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard de454ff552 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.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-15 13:30:23 -03:00
..
pages Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
acq.js Bug 19592: Move admin templates JavaScript to the footer: Acquisitions 2017-12-11 11:34:20 -03:00
acquisitions-menu.js Bug 19753: (QA follow-up) Style invoices menu item when on individual invoice page 2017-12-22 13:15:40 -03:00
additem.js Bug 18183: jQuery append error related to script tags in cloneItemBlock 2018-01-02 11:46:40 -03:00
admin-menu.js Bug 19608: (QA follow-up) Fix menu item styling for clone-rules 2017-12-26 12:52:33 -03:00
ajax.js
audio_alerts.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 19461: Add floating toolbar to staff client catalog search results 2017-10-25 16:12:53 -03:00
basketgroup.js
biblio_framework.js
cart.js
catalog.js
cataloging.js Bug 19503: Duplicating a dropdown menu subfield yields an empty subfield tag 2017-10-27 13:57:10 -03:00
checkouts.js Bug 19444: Display error message for auto_account_expired 2017-12-18 12:16:26 -03:00
datatables.js
file-upload.js
holds.js
item_search_fields.js
localcovers.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js Bug 19641: (follow-up) Fix update child menu option 2018-02-15 13:30:23 -03:00
members.js Bug 18298: Use the validate jQuery plugin 2017-10-16 09:44:32 -03:00
merge-record.js
messaging-preference-form.js Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
offlinecirc.js
onboarding.js Bug 19514: Add client-side check 2017-12-14 16:58:13 -03:00
prevent_submit.js
rotating-collections.js Bug 19656: Move rotating collections templates JS to the footer 2017-12-11 11:34:22 -03:00
serials-toolbar.js Bug 19777: Move template JavaScript to the footer: Serials, part 3 2017-12-14 16:58:13 -03:00
showpredictionpattern.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
sms_providers.js
staff-global.js Bug 19029: Add JavaScript security question for cloning circ rules 2017-10-27 14:09:00 -03:00
subscription-add.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
tools-menu.js Bug 19627: (follow-up) Include tools-menu.js on required templates 2017-12-14 16:58:14 -03:00
xmlControlfield.js
z3950_search.js