[open-ils-commits] r14228 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 30 14:39:20 EDT 2009
Author: phasefx
Date: 2009-09-30 14:39:16 -0400 (Wed, 30 Sep 2009)
New Revision: 14228
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/util.js
Log:
if given a bad barcode, set_penalty_css was throwing an error
Modified: trunk/Open-ILS/xul/staff_client/server/patron/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/util.js 2009-09-30 18:23:04 UTC (rev 14227)
+++ trunk/Open-ILS/xul/staff_client/server/patron/util.js 2009-09-30 18:39:16 UTC (rev 14228)
@@ -597,7 +597,7 @@
'FM_AU_RETRIEVE_VIA_BARCODE.authoritative',
[ session, id ]
);
- patron.util.set_penalty_css(patron_obj);
+ if (typeof patron_obj.ilsevent == 'undefined') patron.util.set_penalty_css(patron_obj);
return patron_obj;
}
More information about the open-ils-commits
mailing list