[open-ils-commits] r15631 - trunk/Open-ILS/xul/staff_client/server/circ (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 24 12:26:23 EST 2010
Author: phasefx
Date: 2010-02-24 12:26:19 -0500 (Wed, 24 Feb 2010)
New Revision: 15631
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
Log:
new widgets to disable/enable in the checkout UI based on patron conditions
Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2010-02-24 16:54:20 UTC (rev 15630)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2010-02-24 17:26:19 UTC (rev 15631)
@@ -276,13 +276,19 @@
if (disable) {
document.getElementById('checkout_submit_barcode_button').disabled = true;
document.getElementById('checkout_done').disabled = true;
+ document.getElementById('checkout_duedate_checkbox').disabled = true;
+ document.getElementById('checkout_duedate_timepicker').disabled = true;
obj.controller.view.checkout_menu.disabled = true;
obj.controller.view.checkout_barcode_entry_textbox.disabled = true;
+ obj.controller.view.checkout_duedate_datepicker.disabled = true;
} else {
document.getElementById('checkout_submit_barcode_button').disabled = false;
document.getElementById('checkout_done').disabled = false;
+ document.getElementById('checkout_duedate_checkbox').disabled = false;
+ document.getElementById('checkout_duedate_timepicker').disabled = false;
obj.controller.view.checkout_menu.disabled = false;
obj.controller.view.checkout_barcode_entry_textbox.disabled = false;
+ obj.controller.view.checkout_duedate_datepicker.disabled = false;
}
}
} catch(E) {
More information about the open-ils-commits
mailing list