summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-09-28 09:57:14 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-09-28 19:09:36 -0400
commit088d455c563ca3b75be357727622d968e49b3ed1 (patch)
treee1edbefdec57634096f3bcca35dd62bcfde66dc0 /httemplate/elements
parentd2e995622cff5402cd887abad948a986a3ceba82 (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.html4
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;