[open-ils-commits] r11259 - trunk/Open-ILS/xul/staff_client/server/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Nov 18 14:01:29 EST 2008
Author: phasefx
Date: 2008-11-18 14:01:26 -0500 (Tue, 18 Nov 2008)
New Revision: 11259
Modified:
trunk/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: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-11-18 18:56:23 UTC (rev 11258)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-11-18 19:01:26 UTC (rev 11259)
@@ -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