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

Sam Lau <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #151752|0                           |1
        is obsolete|                            |

--- Comment #140 from Sam Lau <[email protected]> ---
Created attachment 151843
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151843&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

Signed-off-by: Sam Lau <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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