[open-ils-commits] r11260 - branches/rel_1_4/Open-ILS/xul/staff_client/server/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Nov 18 14:02:20 EST 2008
Author: phasefx
Date: 2008-11-18 14:02:17 -0500 (Tue, 18 Nov 2008)
New Revision: 11260
Modified:
branches/rel_1_4/Open-ILS/xul/staff_client/server/circ/util.js
Log:
bug in test on whether to display the email address on the hold slip or not
Modified: branches/rel_1_4/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/server/circ/util.js 2008-11-18 19:01:26 UTC (rev 11259)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/server/circ/util.js 2008-11-18 19:02:17 UTC (rev 11260)
@@ -2055,7 +2055,7 @@
msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.phone_notify', [check.payload.hold.phone_notify()]);
msg += '\n';
}
- if (check.payload.hold.email_notify()) {
+ if (get_bool(check.payload.hold.email_notify())) {
var payload_email = au_obj.email() ? au_obj.email() : '';
msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.email_notify', [payload_email]);
msg += '\n';
@@ -2185,7 +2185,7 @@
msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.phone_notify', [check.payload.hold.phone_notify()]);
msg += '\n';
}
- if (check.payload.hold.email_notify()) {
+ if (get_bool(check.payload.hold.email_notify())) {
var payload_email = au_obj.email() ? au_obj.email() : '';
msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.email_notify', [payload_email]);
msg += '\n';
More information about the open-ils-commits
mailing list