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,8 +32,10 @@
|
||||||
|
|
||||||
function validatePw(theForm) {
|
function validatePw(theForm) {
|
||||||
|
|
||||||
if ( !validateUserFields(theForm) ) {
|
if ( theForm.Md5password.value != "CANCEL") {
|
||||||
return false;
|
if ( !validateUserFields(theForm) ) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (theForm.Md5password.value.length == 0 ) {
|
if (theForm.Md5password.value.length == 0 ) {
|
||||||
alert("Please enter a password.");
|
alert("Please enter a password.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue