[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 1ed5744ea0c457faedfbccb2c411978e1284e6e2

Evergreen Git git at git.evergreen-ils.org
Wed May 21 22:03:50 EDT 2014


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  1ed5744ea0c457faedfbccb2c411978e1284e6e2 (commit)
      from  4e84fd93e902bda272f77338234c82dad857038a (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 1ed5744ea0c457faedfbccb2c411978e1284e6e2
Author: Jeff Godin <jgodin at tadl.org>
Date:   Wed Oct 30 14:37:10 2013 -0400

    LP#1246843: Don't show contact invalidators for new users
    
    Don't show contact invalidator buttons for new users. This affects
    staged users and cloned users, where the contact fields have a value
    when the editor initially loads.
    
    Signed-off-by: Jeff Godin <jgodin at tadl.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js
index aa8ec75..fe5f0c9 100644
--- a/Open-ILS/web/js/ui/default/actor/user/register.js
+++ b/Open-ILS/web/js/ui/default/actor/user/register.js
@@ -302,7 +302,9 @@ function load() {
         saveCloneButton.attr('disabled', true);
     }
         
-    uUpdateContactInvalidators();
+    if (!patron.isnew()) { // Only existing users get Invalidators
+        uUpdateContactInvalidators();
+    }
 
     // Cancel mouse scroll events from propagating to table rows which are
     // using the dijit.form.NumberSpinner widget, because the mouse scroll

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

Summary of changes:
 Open-ILS/web/js/ui/default/actor/user/register.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list