[open-ils-commits] r19084 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Dec 30 11:29:56 EST 2010


Author: phasefx
Date: 2010-12-30 11:29:53 -0500 (Thu, 30 Dec 2010)
New Revision: 19084

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/display.js
Log:
fix a bug with standing penalties and the stop sign page.  We still have a race condition where the stop sign page may not show, and this seems to happen when multiple patrons are retrieved at once from a patron search.


Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js	2010-12-30 06:40:37 UTC (rev 19083)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js	2010-12-30 16:29:53 UTC (rev 19084)
@@ -947,7 +947,7 @@
                     obj.stop_checkouts = true;
                     }
                 }
-                var penalties = obj.patron.standing_penalties();
+                var penalties = patron.standing_penalties();
                 var dl_flag_opened = false;
                 for (var i = 0; i < penalties.length; i++) {
                     if (penalties[i].standing_penalty().block_list() || penalties[i].standing_penalty().id() == 20 /* ALERT_NOTE */) {



More information about the open-ils-commits mailing list