From a57d1968a97ceb1c52d157303c2a5bc7fe26f901 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 15 Oct 2010 16:22:39 +0000 Subject: [PATCH] populate the password widget under all "reset" conditions git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18355 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/ue.js b/Open-ILS/xul/staff_client/server/patron/ue.js index 650211c4c4..f3ce7d85e0 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.js +++ b/Open-ILS/xul/staff_client/server/patron/ue.js @@ -291,17 +291,16 @@ function uEditResetPw(pw) { if( (pw = patron.day_phone()) || (pw = patron.evening_phone()) || (pw = patron.other_phone()) ) { pw = pw.substring(pw.length - 4); // this is iffy - uEditResetPw(pw); - appendClear($('ue_password_plain'), text(pw)); - unHideMe($('ue_password_gen')); + appendClear($('ue_password_plain'), text(pw)); + unHideMe($('ue_password_gen')); } } else { pw = uEditMakeRandomPw(patron); } - $('ue_password1').value = pw; - $('ue_password2').value = pw; - $('ue_password1').onchange(); } + $('ue_password1').value = pw; + $('ue_password2').value = pw; + $('ue_password1').onchange(); } -- 2.11.0