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

--- Comment #1 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
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