https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27378

--- Comment #119 from Matt Blenkinsop <matt.blenkin...@ptfs-europe.com> ---
Created attachment 151752
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151752&action=edit
Bug 27378: Prevent delete confirmation from duplicating

Previously, if the "Add new code" button was clicked multipe times in the
CookieConsentedJS editor and then those new items were deleted, the
confirmation alert would show multiple times.
This was an incremental issue, i.e. if 4 new items were deleted, then the first
of those would require 4 confirmations to delete, the second would require 3
and so on.
This is now prevented by looping through all delete buttons and avoiding
duplicating the event listeners

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to