[Koha-bugs] [Bug 17916] "Delete MARC modification template" fails to actually delete it
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 25 15:23:45 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17916
--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 62676
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62676&action=edit
Bug 17916 - "Delete MARC modification template" fails to actually delete it
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.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list