projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 75357 - v3 fix for creating contact rows in prospects
[freeside.git]
/
httemplate
/
elements
/
contact.html
diff --git
a/httemplate/elements/contact.html
b/httemplate/elements/contact.html
index
fef189e
..
a9e1f23
100644
(file)
--- a/
httemplate/elements/contact.html
+++ b/
httemplate/elements/contact.html
@@
-145,7
+145,6
@@
tie my %label, 'Tie::IxHash',
'last' => 'Last name',
'title' => 'Title/Position',
'emailaddress' => 'Email',
'last' => 'Last name',
'title' => 'Title/Position',
'emailaddress' => 'Email',
- 'selfservice_access' => 'Self-service'
;
unless ($opt{'for_prospect'}) {
;
unless ($opt{'for_prospect'}) {
@@
-165,8
+164,10
@@
$label{'comment'} = 'Comment';
my @fields = $opt{'name_only'} ? qw( first last ) : keys %label;
my @fields = $opt{'name_only'} ? qw( first last ) : keys %label;
+my $submitid = $opt{'submit_id'} ? $opt{'submit_id'} : 'submit';
+
my $js = qq(
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;
var selfService = document.getElementById("$id\_selfservice_access").value;
@@
-178,6
+179,6
@@
my $js = qq(
else { document.getElementById("changepw$id\_password").disabled = 'true'; }
return false;
}
else { document.getElementById("changepw$id\_password").disabled = 'true'; }
return false;
}
-);
+)
unless $opt{'for_prospect'}
;
</%init>
</%init>