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 10:25:08 -0400
commitf222a656ebe712021d004000ac83df6e69dd3677 (patch)
tree56ce555fb4a6f4547152600a0770a94583b4e0c5 /httemplate/elements
parent73a6d01b7691dd906aabe058be88542d8e59838d (diff)
RT# 75817 - fixed issue with contact edit on edit customer page
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 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;