LOCAL: remove checkbox for asynchronous checkin
authorGalen Charlton <gmc@esilibrary.com>
Mon, 11 Feb 2013 22:12:49 +0000 (17:12 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 11 Feb 2013 23:27:54 +0000 (18:27 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/xul/staff_client/server/circ/checkin.js
Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul

index d628861..908d4e3 100644 (file)
@@ -559,8 +559,6 @@ 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'; }
             var barcode = textbox.value;
             // Auto-complete the barcode, items only
             var barcode_object = xulG.get_barcode(window, 'asset', barcode);
@@ -730,8 +728,6 @@ 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'; }
         if (!async) {
             this.controller.view.checkin_barcode_entry_textbox.disabled = false;
             this.controller.view.checkin_barcode_entry_textbox.select();
@@ -742,8 +738,6 @@ 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'; }
         if (!async) {
             this.controller.view.checkin_barcode_entry_textbox.disabled = false;
             this.controller.view.checkin_barcode_entry_textbox.select();
index 1dc7896..af26e26 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();"