From 33776b79348d09993853a798a83b08dcb49da7c3 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 --- 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.11.0