From 86ea440374fdf692eaf6a3d4c1197785bd3f95d6 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 20 Oct 2010 14:45:18 +0000 Subject: [PATCH] channeling Bill Ott and Steve Calendar and making this change password on phone entry behavior work only for patron registration. Thanks guys! git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18399 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue_config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/ue_config.js b/Open-ILS/xul/staff_client/server/patron/ue_config.js index 96ffd42717..e46098982c 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue_config.js +++ b/Open-ILS/xul/staff_client/server/patron/ue_config.js @@ -296,7 +296,7 @@ function uEditDefineData(patron) { type : 'input', regex : phoneRegex, onblur : function() { - if(uEditUsePhonePw) + if(uEditUsePhonePw && patron.isnew()) uEditMakePhonePw(); }, onpostchange: function(field, newval) { @@ -320,7 +320,7 @@ function uEditDefineData(patron) { type : 'input', regex : phoneRegex, onblur : function() { - if(uEditUsePhonePw) + if(uEditUsePhonePw && patron.isnew()) uEditMakePhonePw(); } } @@ -335,7 +335,7 @@ function uEditDefineData(patron) { type : 'input', regex : phoneRegex, onblur : function() { - if(uEditUsePhonePw) + if(uEditUsePhonePw && patron.isnew()) uEditMakePhonePw(); } } -- 2.11.0