NIHVIVO-1705: changed to handle cancel
This commit is contained in:
parent
0356e4dde9
commit
a1238584fa
1 changed files with 4 additions and 2 deletions
|
@ -32,9 +32,11 @@
|
|||
|
||||
function validatePw(theForm) {
|
||||
|
||||
if ( theForm.Md5password.value != "CANCEL") {
|
||||
if ( !validateUserFields(theForm) ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (theForm.Md5password.value.length == 0 ) {
|
||||
alert("Please enter a password.");
|
||||
theForm.Md5password.focus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue