From: Bill Erickson Date: Fri, 23 Oct 2015 18:02:14 +0000 (-0400) Subject: JBAS-821 SCKO logout avoid focusing buttons X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3884d0cfdff14659292f126a059851d5e621bc43;p=working%2FEvergreen.git JBAS-821 SCKO logout avoid focusing buttons Signed-off-by: Bill Erickson --- 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.