[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. 0267f38e93a5fc15f14b4821f6e45fa8860b6edd

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, rel_2_5 has been updated
       via  0267f38e93a5fc15f14b4821f6e45fa8860b6edd (commit)
      from  fbaa9890872690e9c6a7d1c240c514e601c3b494 (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 0267f38e93a5fc15f14b4821f6e45fa8860b6edd
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 91410a6..921288c 100644
--- a/Open-ILS/web/js/ui/default/actor/user/register.js
+++ b/Open-ILS/web/js/ui/default/actor/user/register.js
@@ -299,7 +299,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