[open-ils-commits] r10909 - branches/rel_1_4/Open-ILS/xul/staff_client/server/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Oct 25 09:34:45 EDT 2008
Author: phasefx
Date: 2008-10-25 09:34:39 -0400 (Sat, 25 Oct 2008)
New Revision: 10909
Modified:
branches/rel_1_4/Open-ILS/xul/staff_client/server/circ/util.js
Log:
wrong method name
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-10-25 13:33:50 UTC (rev 10908)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/server/circ/util.js 2008-10-25 13:34:39 UTC (rev 10909)
@@ -1896,7 +1896,7 @@
}
} catch(E) {
JSAN.use('util.error'); var error = new util.error();
- error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedMessage('staff.circ.checkin.error', ['1']), E);
+ error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedString('staff.circ.checkin.error', ['1']), E);
if (typeof async == 'object') {
try { async.enable_textbox(); }
catch(E) { error.sdump('D_ERROR','async.disable_textbox() = ' + E); };
@@ -1935,7 +1935,7 @@
} catch(E) {
JSAN.use('util.error'); var error = new util.error();
- error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedMessage('staff.circ.checkin.error', ['2']), E);
+ error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedString('staff.circ.checkin.error', ['2']), E);
if (typeof async == 'object') {
try { async.enable_textbox(); } catch(E) { error.sdump('D_ERROR','async.disable_textbox() = ' + E); };
}
@@ -2268,7 +2268,7 @@
return check;
} catch(E) {
JSAN.use('util.error'); var error = new util.error();
- error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedMessage('staff.circ.checkin.error', ['3']), E);
+ error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedString('staff.circ.checkin.error', ['3']), E);
return null;
}
};
@@ -2313,7 +2313,7 @@
return renew;
} catch(E) {
JSAN.use('util.error'); var error = new util.error();
- error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedMessage('staff.circ.checkin.renew_failed.error', [barcode]), E);
+ error.standard_unexpected_error_alert(document.getElementById('circStrings').getFormattedString('staff.circ.checkin.renew_failed.error', [barcode]), E);
return null;
}
}
More information about the open-ils-commits
mailing list