JBAS-821 SCKO logout avoid focusing buttons
authorBill Erickson <berickxx@gmail.com>
Fri, 23 Oct 2015 18:02:14 +0000 (14:02 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js

index 96d7425..608ae47 100644 (file)
@@ -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.