Bug 38789: Add block class to WrongTransfer modal
To test:
1. Find or create an item belonging to a branch other than the logged-in
branch
2. Check in the item and click OK in the "transfer to home" modal
3. Check the item in again
--> The Wrong Transfer modal should appear, but it doesn't!
4. Apply patch
5. Cancel the transfer or find a different item
6. Check in the item and click OK in the "transfer to home" modal
7. Check the item in again
--> The Wrong Transfer modal should appear
8. Click OK
9. Open the bib record for that item in a new tab
--> The item should have a status of "In transit"
10. Change the system preference TransfersBlockCirc to don't block
11. Check the item in again
--> The Wrong Transfer modal should still appear
12. Confirm that you can click outside the modal to dismiss it without
choosing an option
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 46e025d08c)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
0ba6e56fee
commit
b22e8d782f
|
|
@ -575,9 +575,9 @@
|
|||
[% UNLESS ( hold_auto_filled && diffbranch ) %]
|
||||
[% IF WrongTransfer && !transfertodo %]
|
||||
[% IF Koha.Preference('TransfersBlockCirc') %]
|
||||
<div id="wrong-transfer-modal" class="modal modal-lg audio-alert-action" data-bs-backdrop="static" data-bs-keyboard="false" >
|
||||
<div id="wrong-transfer-modal" class="modal modal-lg block audio-alert-action" data-bs-backdrop="static" data-bs-keyboard="false" >
|
||||
[% ELSE %]
|
||||
<div id="wrong-transfer-modal" class="modal modal-lg audio-alert-action noblock">
|
||||
<div id="wrong-transfer-modal" class="modal modal-lg noblock audio-alert-action">
|
||||
[% END %]
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
|
|
|
|||
Loading…
Reference in New Issue