[open-ils-commits] r18399 - branches/rel_1_6/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 20 10:45:21 EDT 2010
Author: phasefx
Date: 2010-10-20 10:45:18 -0400 (Wed, 20 Oct 2010)
New Revision: 18399
Modified:
branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue_config.js
Log:
channeling Bill Ott and Steve Calendar and making this change password on phone entry behavior work only for patron registration. Thanks guys!
Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue_config.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue_config.js 2010-10-20 13:31:47 UTC (rev 18398)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue_config.js 2010-10-20 14:45:18 UTC (rev 18399)
@@ -296,7 +296,7 @@
type : 'input',
regex : phoneRegex,
onblur : function() {
- if(uEditUsePhonePw)
+ if(uEditUsePhonePw && patron.isnew())
uEditMakePhonePw();
},
onpostchange: function(field, newval) {
@@ -320,7 +320,7 @@
type : 'input',
regex : phoneRegex,
onblur : function() {
- if(uEditUsePhonePw)
+ if(uEditUsePhonePw && patron.isnew())
uEditMakePhonePw();
}
}
@@ -335,7 +335,7 @@
type : 'input',
regex : phoneRegex,
onblur : function() {
- if(uEditUsePhonePw)
+ if(uEditUsePhonePw && patron.isnew())
uEditMakePhonePw();
}
}
More information about the open-ils-commits
mailing list