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);
'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();
'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();
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();"