From 985adebbccf51c25ebeb049675c78830b98246aa Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 29 Aug 2018 14:09:58 -0400 Subject: RT# 75817 - updated UI to be more intuitive Conflicts: httemplate/edit/cust_main-contacts.html httemplate/elements/contact.html --- httemplate/elements/validate_password.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'httemplate/elements/validate_password.html') 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; } } }; } -- cgit v1.2.1 From 405f925e2578705780332900eb5df031bfa7c272 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 4 Sep 2018 08:30:35 -0400 Subject: RT# 75817 - Added password change link to cust main page Conflicts: httemplate/edit/cust_main-contacts.html httemplate/elements/validate_password.html httemplate/view/cust_main/contacts_new.html --- httemplate/elements/validate_password.html | 55 ++---------------------------- 1 file changed, 3 insertions(+), 52 deletions(-) (limited to 'httemplate/elements/validate_password.html') diff --git a/httemplate/elements/validate_password.html b/httemplate/elements/validate_password.html index 9ecbba52d..10471d974 100644 --- a/httemplate/elements/validate_password.html +++ b/httemplate/elements/validate_password.html @@ -15,59 +15,10 @@ should be the input id plus '_result'. -<& '/elements/xmlhttp.html', - 'url' => $p.'misc/xmlhttp-validate_password.html', - 'subs' => [ 'validate_password' ], - 'method' => 'POST', # important not to put passwords in url -&> - <%init> -- cgit v1.2.1