diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-09-28 09:57:14 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-09-28 09:57:14 -0400 |
commit | 9e9168c1e83f5e33e3a09299a3e72d0d9ae7a237 (patch) | |
tree | 4e00369dbeb9a09aacd68dce767eaf76aee2dce0 /httemplate/elements | |
parent | 66b90d3d395a6bace7d3d73743fbd3dc54bda8b6 (diff) |
RT# 75817 - fixed issue with contact edit on edit customer page
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/contact.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index 909ff78..48b5e2c 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; |