[open-ils-commits] r18355 - branches/rel_1_6/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 15 12:22:43 EDT 2010
Author: phasefx
Date: 2010-10-15 12:22:39 -0400 (Fri, 15 Oct 2010)
New Revision: 18355
Modified:
branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js
Log:
populate the password widget under all "reset" conditions
Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js 2010-10-15 13:10:13 UTC (rev 18354)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js 2010-10-15 16:22:39 UTC (rev 18355)
@@ -291,17 +291,16 @@
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();
}
More information about the open-ils-commits
mailing list