LP#1560601 - Prevent tab changing focus & return to scanbox on click user/stompro/lp1560601-selfcheck-keep-focus
authorJosh Stompro <stompro@stompro.org>
Fri, 13 Sep 2019 20:40:08 +0000 (15:40 -0500)
committerJosh Stompro <stompro@stompro.org>
Fri, 13 Sep 2019 20:40:08 +0000 (15:40 -0500)
commit00cb4d5848885ec0f91784fe504da1f0f2e3f02f
tree783dd964256042139a9226b775aa8914eedd5050
parent10e77568568baef8b09cab6bce6b799d8211be31
LP#1560601 - Prevent tab changing focus & return to scanbox on click

Web based self check - prevent the tab key from moving the focus away from
the barcode scan box.  Always return focus to the scan box after click.

This is to prevent a bump of the keyboard or an errant touch of the touch
screen from failing the next barcode scan.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Open-ILS/src/templates/circ/selfcheck/banner.tt2
Open-ILS/web/css/skin/default/selfcheck.css
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js