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=33776b79348d09993853a798a83b08dcb49da7c3;p=working%2FEvergreen.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 --- diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index 7aa8b96bbf..e1b4fbe177 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -905,6 +905,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()]);