From 93211049c2ca2652fb7d1ef14e5329ddb117b8af Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 8 Aug 2011 14:06:57 -0400 Subject: [PATCH] Fix stop sign page race condition with checkout This would happen most often when retrieving multiple patrons at the same time from patron search--the stop sign page would show but then get trampled by the checkout interface, which normally loads first. Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky --- Open-ILS/xul/staff_client/server/patron/display.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index 36199e5aa0..1648cc8657 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -903,6 +903,7 @@ patron.display.prototype = { // FIXME - replace this generated "stop sign" page with a dedicated XUL file or template return function(patron,params) { try { + obj._already_defaulted_once = true; var msg = ''; obj.stop_checkouts = false; if (patron.alert_message()) msg += $("patronStrings").getFormattedString('staff.patron.display.init.network_request.alert_message', [patron.alert_message()]); -- 2.11.0