[Koha-bugs] [Bug 27250] DELETE calls are stacked on the SMTP servers admin page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 16 13:41:16 CET 2020


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 114434
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114434&action=edit
Bug 27250: Prevent DELETE to be called several times on SMTP servers admin page

The on click event is not replaced but added. We must unbind it before
adding the second one

To recreate:
Create at least 2 SMTP servers
Click "Delete" for server 1
=> You get a successful message (OK)
Click "Delete" for server 2
=> You get a successful message (OK)
=> You get also an alert message about server 1 (KO)

The DELETE route is called twice (one per Delete button you clicked)

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


More information about the Koha-bugs mailing list