From: phasefx Date: Wed, 30 Sep 2009 14:20:34 +0000 (+0000) Subject: Consolidate some checkboxes into a Checkin Modifiers menu button, since we'll be... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=86b47c282155238164e4040f31ec4e10ffb777d8;p=evergreen%2Fpines.git Consolidate some checkboxes into a Checkin Modifiers menu button, since we'll be adding more and are running out of screen real estate. git-svn-id: svn://svn.open-ils.org/ILS/trunk@14218 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 629fbef82b..40f91568a6 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1795,6 +1795,8 @@ + + diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.js b/Open-ILS/xul/staff_client/server/circ/checkin.js index 2ac9d2c425..4e435d044b 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/checkin.js @@ -313,7 +313,7 @@ circ.checkin.prototype = { } var backdate = obj.controller.view.checkin_effective_datepicker.value; var auto_print = document.getElementById('checkin_auto'); - if (auto_print) auto_print = auto_print.checked; + if (auto_print) auto_print = auto_print.getAttribute('checked') == 'true'; JSAN.use('circ.util'); circ.util.checkin_via_barcode( ses(), diff --git a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul index 9cf7b330c9..cb5b5a96fe 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul @@ -124,9 +124,16 @@ accesskey="&staff.checkin.print_receipt.accesskey;"/> - - + diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index dc5c6774b6..5491278a73 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -2493,7 +2493,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che print_data.route_to; if (document.getElementById('do_not_alert_on_precat')) { var x = document.getElementById('do_not_alert_on_precat'); - if (! x.checked) { + if (x.getAttribute('checked') != 'true') { print_data.route_to_msg = document.getElementById('circStrings').getFormattedString('staff.circ.utils.route_to.msg', [check.route_to]); msg += print_data.route_to_msg; }