From: Jeff Godin Date: Wed, 30 Oct 2013 18:37:10 +0000 (-0400) Subject: Don't show contact invalidators for new users X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ad8bf0ea21a9ebdcb380ce930a1b87ee645b72d4;p=evergreen%2Ftadl.git 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 --- 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 90faafa0da..1b055a4d22 100644 --- a/Open-ILS/web/js/ui/default/actor/user/register.js +++ b/Open-ILS/web/js/ui/default/actor/user/register.js @@ -295,7 +295,10 @@ function load() { saveCloneButton.attr('disabled', true); } - uUpdateContactInvalidators(); + if (!patron.isnew()) { // Only existing users get Invalidators + uUpdateContactInvalidators(); + } + lock_ready = true; }