JBAS-821 SCKO logout warning language mods
authorBill Erickson <berickxx@gmail.com>
Fri, 23 Oct 2015 14:10:35 +0000 (10:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Also ensure focus returns to scan box after Continue Session is
selected.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/circ/selfcheck/logout_dialog.tt2
Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js

index 11ecd07..2af2ceb 100644 (file)
@@ -1,5 +1,5 @@
 <div dojoType="dijit.Dialog" jsId='oilsSelfckLogoutDialog' style='display:none;'>
-  <p>[% l('Your login session will soon timeout due to inactivity.') %]</p>
+  <p>[% l('Your checkout session will soon time out due to inactivity.') %]</p>
   <table><tr>
     <td>
       <button jsId='oilsSelfckLogout' 
index f27b1d4..96d7425 100644 (file)
@@ -87,6 +87,7 @@ function selfckLogoutWarning() {
                 clearTimeout(selfckWarningTimer);
                 oilsSelfckLogoutDialog.hide();
                 selfckResetTimer();
+                selfckScanBox.focus();
             }
         );
     }