From: Jason Etheridge Date: Mon, 8 Aug 2011 18:06:57 +0000 (-0400) Subject: Fix stop sign page race condition with checkout X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=93211049c2ca2652fb7d1ef14e5329ddb117b8af;p=evergreen%2Ftadl.git 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 --- 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()]);