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

--- Comment #3 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 200157
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200157&action=edit
Bug 42804: (follow-up) Replace confirm() with Bootstrap modal for delete

This patch replaces the browser-native confirm() dialog with a proper
Bootstrap modal for the cover image delete action on the upload page,
consistent with other delete confirmation patterns in Koha (e.g.
delete_item_confirmation.inc).

Test plan:
1. Apply patch
2. Navigate to Tools > Upload local cover image for a biblio with images
3. Click the delete icon on a thumbnail
=> SUCCESS: Bootstrap modal appears asking for confirmation
4. Click Cancel
=> SUCCESS: Modal dismisses, image not deleted
5. Click Delete
=> SUCCESS: Image removed
6. Sign off :-D

Sponsored-by: ByWater Solutions

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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