[open-ils-commits] r11745 - trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jan 5 15:40:07 EST 2009
Author: phasefx
Date: 2009-01-05 15:40:03 -0500 (Mon, 05 Jan 2009)
New Revision: 11745
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.js
Log:
method returns id of ausp now
Modified: trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.js 2009-01-05 20:22:19 UTC (rev 11744)
+++ trunk/Open-ILS/xul/staff_client/server/patron/standing_penalties.js 2009-01-05 20:40:03 UTC (rev 11745)
@@ -86,7 +86,7 @@
penalty.org_unit( ses('ws_ou') );
penalty.note( note );
var req = net.simple_request( 'FM_AUSP_APPLY', [ ses(), penalty ] );
- if (typeof req.ilsevent != 'undefined' || String(req) != '1') {
+ if (typeof req.ilsevent != 'undefined') {
error.standard_unexpected_error_alert(patronStrings.getFormattedString('staff.patron.standing_penalty.apply_error',[data.hash.csp[id].name()]),req);
}
};
More information about the open-ils-commits
mailing list