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@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
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