https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38793
Owen Leonard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #176368|0 |1 is obsolete| | --- Comment #9 from Owen Leonard <[email protected]> --- Created attachment 176387 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176387&action=edit Bug 38793: Don't dismiss modal before submitting form Remove the bs-data-dismiss attribute from the "cancel transfer" button on the Wrong Transfer modal. The "cancel transfer" button's JS works by adding a hidden input and then submitting the form - we don't want Bootstrap to dismiss the modal before the embedded form has been submitted. Note: This bug seems to be browser-dependent. So far it has been reproduced with Firefox, but not Chrome/Chromium or Microsoft Edge To test: 1. Log into the staff client using Firefox 2. Set up system preferences: TransfersBlockCirc - Don't block AutomaticConfirmTransfer - Do 3. Find or create an item that belongs to a branch other than the logged-in branch 4. Check in the item to trigger a Return to Home transfer 5. Click OK on the modal to confirm the transfer 6. Check in the item again to trigger a Wrong Transfer modal 7. Click the "Cancel transfer" button on the modal 8. Navigate to the bib for that item and check the item status --> The transfer wasn't cancelled - the item is still in transit 9. Apply patch and refresh the page 10. Repeat steps 6-8 --> Item shows as available - the transfer was cancelled successfully Signed-off-by: Owen Leonard <[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/
