[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_6 updated. 26ce64f980ae1f36892d98c41ead963b49a8b0e7
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_6 has been updated
via 26ce64f980ae1f36892d98c41ead963b49a8b0e7 (commit)
from 656212c4db0c421b252e287a3eb5501577feaaa4 (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 26ce64f980ae1f36892d98c41ead963b49a8b0e7
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