Bug 13258 - Clicking the "show checkouts" button should return focus to the barcode...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 14 Nov 2014 15:49:18 +0000 (10:49 -0500)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 17 Nov 2014 00:17:11 +0000 (21:17 -0300)
commit94687cf57a67515204ace0949a3e4d3e75ca41b1
treed9375cd040da212d08103cf02bc4608f10fe4adf
parent17e6a8b6527acb063a877db97f88e161c35885ce
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.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js