From a1238584fa7cef787ccaba1d1eb2a5fbd75442fa Mon Sep 17 00:00:00 2001 From: tlw72 Date: Fri, 14 Jan 2011 19:08:48 +0000 Subject: [PATCH] NIHVIVO-1705: changed to handle cancel --- webapp/web/templates/edit/specific/user_retry_head.jsp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webapp/web/templates/edit/specific/user_retry_head.jsp b/webapp/web/templates/edit/specific/user_retry_head.jsp index 636e04770..0919f2ad3 100644 --- a/webapp/web/templates/edit/specific/user_retry_head.jsp +++ b/webapp/web/templates/edit/specific/user_retry_head.jsp @@ -32,8 +32,10 @@ function validatePw(theForm) { - if ( !validateUserFields(theForm) ) { - return false; + if ( theForm.Md5password.value != "CANCEL") { + if ( !validateUserFields(theForm) ) { + return false; + } } if (theForm.Md5password.value.length == 0 ) { alert("Please enter a password.");