[Koha-bugs] [Bug 27378] Enable compliance with EU Cookie Legislation via cookie consent

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 30 22:03:48 CEST 2023


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

Sam Lau <samalau at gmail.com> changed:

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

--- Comment #140 from Sam Lau <samalau at gmail.com> ---
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 <samalau at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list