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 Bug 16310 - Remove the use of "onclick" from audio alerts template 2016-08-01 14:35:27 +00:00
automatic_item_modification_by_age.js Bug 18752 - Automatic item modifications by age should allow 'blank' values 2017-06-13 16:21:37 -03:00
background-job-progressbar.js Bug 18340: Fix progress bar length 2017-05-12 08:53:57 -04:00
basket.js Bug 19461: Add floating toolbar to staff client catalog search results 2017-10-25 16:12:53 -03:00
basketgroup.js Bug 18432 : Follow up - Updating to use they/them 2017-04-21 10:56:43 -04:00
biblio_framework.js Bug 16072: Changing all instances of 'loading-small.gif' to 'spinner-small.gif' and removing loading-small.gif file. 2016-12-28 13:43:20 +00:00
cart.js Bug 16477 - Improve staff client cart JavaScript and template 2016-06-24 13:42:22 +00:00
catalog.js Bug 17893 - Move JavaScript to the footer on staff client catalog pages 2017-09-07 14:05:49 -03:00
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 Bug 16239: Update javascript files 2017-01-13 14:41:23 +00:00
item_search_fields.js
localcovers.js
marc_modification_templates.js Bug 17916 - "Delete MARC modification template" fails to actually delete it 2017-04-28 07:02:10 -04:00
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 Bug 17012 - Remove more event attributes from administration templates 2016-09-09 13:29:52 +00:00
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 Bug 16072: Changing all instances of 'loading-small.gif' to 'spinner-small.gif' and removing loading-small.gif file. 2016-12-28 13:43:20 +00:00