fix a bug with standing penalties and the stop sign page. We still have a race condi...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 30 Dec 2010 16:29:53 +0000 (16:29 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 30 Dec 2010 16:29:53 +0000 (16:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19084 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/display.js

index fad8d29..3f2a013 100644 (file)
@@ -947,7 +947,7 @@ patron.display.prototype = {
                     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 */) {