diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-09-28 09:57:14 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-09-28 19:09:36 -0400 |
| commit | 088d455c563ca3b75be357727622d968e49b3ed1 (patch) | |
| tree | e1edbefdec57634096f3bcca35dd62bcfde66dc0 /httemplate/elements | |
| parent | d2e995622cff5402cd887abad948a986a3ceba82 (diff) | |
RT# 75817 - fixed issue with contact edit on edit customer page
Conflicts:
httemplate/edit/cust_main-contacts.html
httemplate/edit/cust_main.cgi
httemplate/edit/cust_main/contacts_new.html
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 fef189e0c..199f5cb53 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -165,8 +165,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; |
