Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Alex Buckley bbef5c4c3a Bug 18438 - Implemented data-dismiss="modal" in returns.tt so that any warning messages hidden by a hold modal are displayed after it is dismissed
Test plan:
1. Check out an item to one patron whilst having that item also being on
hold to another patron

2. Check the item back in

3. Notice a modal box appears greying out the background with three
buttons 'Confirm hold', 'Print and confirm' and 'Ignore'. Click confirm
and notice that the page refreshes and no yellow warning messages are
able to be displayed

4. Now that you have checked the item in. Try checking it in a second
time by clicking on the Checkin tab and writing in the barcode.

5. The modal box will appear again, this time with three buttons
'Confirm', 'Print and confirm' and 'Cancel hold'

6. Click the 'Confirm' button and the page refreshes again and the
yellow warning message hidden by the modal box is not properly displayed
to the user. Notice that the focus is on the barcode input box.

7. Apply patch

8. Try checking in the item again, and this time after clicking the
'confirm' button on the modal box notice that the yellow warning message
is displayed telling the user the item was "Not checked out". Also
notice the focus is in the barcode inputbox.

9. Drop the hold on the item and make sure it is not checked out.

10. Repeat steps 1 and 2 and notice after clicking the 'Confirm hold'
button the page refreshes and the item is successfully checked back in.
With the focus on the barcode input.

11. View koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt and
notice that the button on line 345 does not use an onclick parameter

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended-patch: remove spaces

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-05-19 10:19:36 -04:00
..
article-requests.tt
bookcount.tt
branchoverdues.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
branchtransfers.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
circulation-home.tt Bug 16530: Add a new method to the Branches TT Plugin to avoid c/p 2017-03-03 18:34:36 +00:00
circulation.tt Bug 18529 - Template cleanup of patron clubs pages 2017-05-12 09:02:28 -04:00
circulation_batch_checkouts.tt Bug 18453: Remove exports_enabled in circulation_batch_checkouts.tt 2017-04-28 08:32:57 -04:00
offline-mf.tt
offline.tt
on-site_checkouts.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
overdue.tt Bug 8548: Add datatable to circ overdue report, remove sortby filter 2017-03-31 12:35:47 +00:00
pendingreserves.tt
printslip.tt Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
renew.tt Bug 15582: Ability to block auto renewals if OPACFineNoRenewals is reached 2017-05-09 21:05:29 +00:00
request-article.tt
reserveratios.tt
returns.tt Bug 18438 - Implemented data-dismiss="modal" in returns.tt so that any warning messages hidden by a hold modal are displayed after it is dismissed 2017-05-19 10:19:36 -04:00
selectbranchprinter.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
transfer-slip.tt
transferstoreceive.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
view_holdsqueue.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
waitingreserves.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00