[open-ils-commits] r18332 - branches/rel_2_0/Open-ILS/xul/staff_client/server/patron (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 14 14:35:59 EDT 2010


Author: miker
Date: 2010-10-14 14:35:54 -0400 (Thu, 14 Oct 2010)
New Revision: 18332

Modified:
   branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/ue_config.js
Log:
patch from Steve Callendar to avoid resetting the passwd every time a phone number changes

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/ue_config.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/ue_config.js	2010-10-14 18:35:27 UTC (rev 18331)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/ue_config.js	2010-10-14 18:35:54 UTC (rev 18332)
@@ -295,10 +295,6 @@
                 id            : 'ue_day_phone',
                 type        : 'input',
                 regex        :  phoneRegex,
-                onblur      : function() {
-                    if(uEditUsePhonePw)
-                        uEditMakePhonePw();
-                },
                 onpostchange: function(field, newval) {
                     /*  if this is a new patron and we are using the phone number for
                         the password and the staff edits the phone number after entering
@@ -318,11 +314,7 @@
             widget    : {
                 id            : 'ue_night_phone',
                 type        : 'input',
-                regex        :  phoneRegex,
-                onblur      : function() {
-                    if(uEditUsePhonePw)
-                        uEditMakePhonePw();
-                }
+                regex        :  phoneRegex
             }
         },
         {
@@ -333,11 +325,7 @@
             widget    : {
                 id            : 'ue_other_phone',
                 type        : 'input',
-                regex        :  phoneRegex,
-                onblur      : function() {
-                    if(uEditUsePhonePw)
-                        uEditMakePhonePw();
-                }
+                regex        :  phoneRegex
             }
         },
         {



More information about the open-ils-commits mailing list