[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 893057eb12be32bb0aa283324a3e46174cb0cc54

Evergreen Git git at git.evergreen-ils.org
Tue May 24 14:50:24 EDT 2011


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_0 has been updated
       via  893057eb12be32bb0aa283324a3e46174cb0cc54 (commit)
      from  c463ae49ac75977355b32a79e6bebf352bf7bf94 (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 893057eb12be32bb0aa283324a3e46174cb0cc54
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Tue May 24 14:55:57 2011 -0400

    remove restriction on resetting pw to random number when Use Phone Password setting is active.  uEditMakeRandomPw will still get called for new users, but should get overwritten once a phone number is entered
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

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 b3733a2..70a39ab 100644
--- a/Open-ILS/web/js/ui/default/actor/user/register.js
+++ b/Open-ILS/web/js/ui/default/actor/user/register.js
@@ -148,10 +148,7 @@ function load() {
         input.widget.attr('disabled', true).attr('readOnly', true);
     }
 
-    dojo.connect(generatePassword, 'onClick', generatePasswordHandler);
-    if (uEditUsePhonePw) {
-        generatePassword.attr('disabled', true);
-    }
+	dojo.connect(generatePassword, 'onClick', generatePasswordHandler);
 
     if(!patron.isnew() && !checkGrpAppPerm(patron.profile()) && patron.id() != openils.User.user.id()) {
         // we are not allowed to edit this user, so disable the save option
@@ -1116,7 +1113,6 @@ function uEditNewPatron() {
 }
 
 function uEditMakeRandomPw(patron) {
-    if(uEditUsePhonePw) return;
     var rand  = Math.random();
     rand = parseInt(rand * 10000) + '';
     while(rand.length < 4) rand += '0';

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list