diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-08-29 14:09:58 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-09-09 16:42:55 -0400 |
| commit | 93ef20155af222e8b3f0737715975e0fc86741b0 (patch) | |
| tree | ce1ed19f090afb78f5f24bbe1561f45855bc0313 /httemplate/elements/validate_password.html | |
| parent | fe0e5a810960200b5352128139e6b040ea08eada (diff) | |
RT# 75817 - updated UI to be more intuitive
Diffstat (limited to 'httemplate/elements/validate_password.html')
| -rw-r--r-- | httemplate/elements/validate_password.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/validate_password.html b/httemplate/elements/validate_password.html index 4057f5d3f..73c0db281 100644 --- a/httemplate/elements/validate_password.html +++ b/httemplate/elements/validate_password.html @@ -29,7 +29,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; } } @@ -61,6 +61,7 @@ function add_password_validation (fieldid, submitid) { ); } else { resultfield.innerHTML = ''; + if (submitid){ document.getElementById(submitid).disabled = false; } } }; } |
