From f303d7f058b28e69434372c8ee85fe334ca4144c 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 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()]); -- 2.43.2