[open-ils-commits] [GIT] Evergreen ILS branch master updated. f303d7f058b28e69434372c8ee85fe334ca4144c

Evergreen Git git at git.evergreen-ils.org
Tue Aug 9 13:47:47 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  f303d7f058b28e69434372c8ee85fe334ca4144c (commit)
      from  0606ec4315aac2c7106f67d3996dc020e8646b18 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f303d7f058b28e69434372c8ee85fe334ca4144c
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Mon Aug 8 14:06:57 2011 -0400

    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 <jason at esilibrary.com>
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>

diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js
index 7aa8b96..e1b4fbe 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()]);

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/xul/staff_client/server/patron/display.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list