JBAS-567 Hide and ignore fast-entry checkin option
authorBill Erickson <berickxx@gmail.com>
Mon, 30 Nov 2015 22:55:05 +0000 (17:55 -0500)
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/xul/staff_client/server/circ/checkin.js
Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul

index 999ed31..c027cb7 100644 (file)
@@ -589,8 +589,9 @@ circ.checkin.prototype = {
         try {
             var textbox = obj.controller.view.checkin_barcode_entry_textbox;
             var async = false;
-            var async_checkbox = document.getElementById('async_checkin');
-            if (async_checkbox) { async = async_checkbox.getAttribute('checked') == 'true'; }
+            //KCLS jbas-567
+            //var async_checkbox = document.getElementById('async_checkin');
+            //if (async_checkbox) { async = async_checkbox.getAttribute('checked') == 'true'; }
             var barcode = textbox.value;
             if (async) {
                 textbox.value = ''; textbox.focus();
@@ -766,8 +767,9 @@ circ.checkin.prototype = {
 
     'on_checkin' : function() {
         var async = false;
-        var async_checkbox = document.getElementById('async_checkin');
-        if (async_checkbox) { async = async_checkbox.getAttribute('checked') == 'true'; }
+        //KCLS jbas-567
+        //var async_checkbox = document.getElementById('async_checkin');
+        //if (async_checkbox) { async = async_checkbox.getAttribute('checked') == 'true'; }
         if (!async) {
             this.controller.view.checkin_barcode_entry_textbox.disabled = false;
             this.controller.view.checkin_barcode_entry_textbox.select();
@@ -778,8 +780,9 @@ circ.checkin.prototype = {
 
     'on_failure' : function() {
         var async = false;
-        var async_checkbox = document.getElementById('async_checkin');
-        if (async_checkbox) { async = async_checkbox.getAttribute('checked') == 'true'; }
+        //KCLS jbas-567
+        //var async_checkbox = document.getElementById('async_checkin');
+        //if (async_checkbox) { async = async_checkbox.getAttribute('checked') == 'true'; }
         if (!async) {
             this.controller.view.checkin_barcode_entry_textbox.disabled = false;
             this.controller.view.checkin_barcode_entry_textbox.select();
index 22731c7..b1cff15 100644 (file)
         accesskey="&staff.checkin.print_receipt.accesskey;"/>
     <checkbox id="printer_prompt" label="&staff.circ.checkin_overlay.printer_prompt.label;" checked="true" oils_persist="checked"/>
     <checkbox id="trim_list" label="&staff.circ.checkin_overlay.trim_list.label;" checked="true" oils_persist="checked"/> 
+    <!--
     <checkbox id="async_checkin" label="&staff.circ.checkin_overlay.async_checkin.label;" checked="false" oils_persist="checked"/> 
+    -->
     <checkbox id="strict_barcode" label="&staff.circ.checkin_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
     <spacer id="pcii3s" flex="1"/>
     <button id="checkin_modifiers" oncommand="this.firstChild.showPopup();"