summaryrefslogtreecommitdiff
path: root/httemplate/elements/validate_password.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-08-29 14:09:58 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-09-09 18:46:49 -0400
commit985adebbccf51c25ebeb049675c78830b98246aa (patch)
tree042f6304e833222f2edb0b17c8bb929842b526c5 /httemplate/elements/validate_password.html
parent9639c805abfdd2858a29576b767461c667bd5417 (diff)
RT# 75817 - updated UI to be more intuitive
Conflicts: httemplate/edit/cust_main-contacts.html httemplate/elements/contact.html
Diffstat (limited to 'httemplate/elements/validate_password.html')
-rw-r--r--httemplate/elements/validate_password.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/validate_password.html b/httemplate/elements/validate_password.html
index a8c06774e..9ecbba52d 100644
--- a/httemplate/elements/validate_password.html
+++ b/httemplate/elements/validate_password.html
@@ -30,7 +30,7 @@ function add_password_validation (fieldid, submitid) {
// some browsers allow the enter key to submit a form even if the submit button is disabled
// below prevents enter key from submiting form if password has not been validated.
if (key == '13') {
- var check = checkPasswordValidation();
+ var check = checkPasswordValidation(fieldid);
return check;
}
}
@@ -62,6 +62,7 @@ function add_password_validation (fieldid, submitid) {
);
} else {
resultfield.innerHTML = '';
+ if (submitid){ document.getElementById(submitid).disabled = false; }
}
};
}