Bug 13258

Summary: Clicking the "show checkouts" button should return focus to the barcode field
Product: Koha Reporter: Owen Leonard <oleonard>
Component: CirculationAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, katrin.fischer, kyle.m.hall, mtj, tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 11703, 13537    
Bug Blocks:    
Attachments: Bug 13258 - Clicking the "show checkouts" button should return focus to the barcode field
Bug 13258 - Clicking the "show checkouts" button should return focus to the barcode field
[PASSED QA] Bug 13258 - Clicking the "show checkouts" button should return focus to the barcode field

Description Owen Leonard 2014-11-14 15:40:26 UTC
Clicking the "show checkouts" button or the "always show checkouts" checkbox should return the cursor to the barcode field so that checkouts can proceed.
Comment 1 Owen Leonard 2014-11-14 15:56:15 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2014-11-14 17:27:23 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2014-11-15 08:55:18 UTC
Created attachment 33588 [details] [review]
[PASSED QA] Bug 13258 - Clicking the "show checkouts" button should return focus to the barcode field

This patch udpates the checkouts JavaScript so that clicking the "show
checkouts" button or the "always show checkouts" checkbox returns focus
to the barcode field. This improves the checkout workflow by eliminating
a mouse click.

To test, apply the patch and clear your browser cache. Check out to a
patron and confirm that focus is returned to the barcode field after
clicking the "show checkouts" button and the "always show checkouts"
checkbox.

Patch behaves as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, no problems found.
Comment 4 Tomás Cohen Arazi 2014-11-17 00:23:12 UTC
Patch pushed to master.

Thanks Owen!
Comment 5 Mason James 2015-01-21 07:04:45 UTC
This needs to be backported to 3.16.x