From 3884d0cfdff14659292f126a059851d5e621bc43 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 23 Oct 2015 14:02:14 -0400 Subject: [PATCH] JBAS-821 SCKO logout avoid focusing buttons Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js b/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js index 96d7425cf4..608ae47abb 100644 --- a/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js +++ b/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js @@ -94,6 +94,10 @@ function selfckLogoutWarning() { // warn the patron of imminent logout oilsSelfckLogoutDialog.show(); + + // avoid focusing any of the warning dialog buttons. + setTimeout(function(){selfckScanBox.focus()}, 500); + selfckWarningTimer = setTimeout( function() { // no action was taken, force a logout. -- 2.11.0