From c0ac68f4b80228e162fd7e82d93cc7c48a4d7302 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 10 Aug 2006 22:07:00 +0000 Subject: [PATCH] fixed bug (and simplified) the password verify git-svn-id: svn://svn.open-ils.org/ILS/trunk@5450 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue_config.js | 5 +---- 1 file changed, 1 insertion(+), 4 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 e4628a928f..ac008772d3 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue_config.js +++ b/Open-ILS/xul/staff_client/server/patron/ue_config.js @@ -158,10 +158,7 @@ function uEditDefineData(patron) { onpostchange : function(field, newval) { var pw1f = uEditFindFieldByWId('ue_password1'); var pw1 = uEditNodeVal(pw1f); - if( pw1 == newval ) - removeCSSClass(field.widget.node, CSS_INVALID_DATA); - else - addCSSClass(field.widget.node, CSS_INVALID_DATA); + field.widget.regex = new RegExp('^'+pw1+'$'); } } }, -- 2.11.0