Owen Leonard
3fddc0d737
The MARC modification templates' 'Delete' button fails because the event handler has a "preventDefault" but the outcome of the confirmation function must return true or false. This patch removes the "preventDefault" from the .delete_template click handler as well as a redundant onclick attribute from the delete link itself. To test, apply the patch and go to Tools -> MARC modification templates. Clicking the delete button for any existing template should work correctly. Followed test plan, worked as intended Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> |
||
---|---|---|
.. | ||
pages | ||
acq.js | ||
additem.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 | ||
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.js | ||
merge-record.js | ||
offlinecirc.js | ||
prevent_submit.js | ||
sms_providers.js | ||
staff-global.js | ||
xmlControlfield.js | ||
z3950_search.js |