From 9e9168c1e83f5e33e3a09299a3e72d0d9ae7a237 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Fri, 28 Sep 2018 09:57:14 -0400 Subject: RT# 75817 - fixed issue with contact edit on edit customer page --- httemplate/elements/contact.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index 909ff7893..48b5e2ce2 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -191,8 +191,10 @@ $label{'comment'} = 'Comment'; my @fields = $opt{'name_only'} ? qw( first last ) : keys %label; +my $submitid = $opt{'submit_id'} ? $opt{'submit_id'} : 'submit'; + my $js = qq( - add_password_validation('changepw$id\_password', 'submit', '', '$contactnum'); + add_password_validation('changepw$id\_password', '$submitid', '', '$contactnum'); var selfService = document.getElementById("$id\_selfservice_access").value; -- cgit v1.2.1