summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-04-17 10:46:02 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-04-17 10:53:09 -0400
commit9d730c5bfd39cca46b2801f32432a9d979d6501b (patch)
tree9da2afeecb092076039d5c1f39de76a71ed319b4
parent1ab8e94c2cceed20d27e27441ebce543cf6565a6 (diff)
RT# 75357 - now new contact row in created in correct place
-rw-r--r--httemplate/elements/contact.html2
-rw-r--r--httemplate/elements/tr-select-part_referral.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 199f5cb53..5cf8ddbd6 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -180,6 +180,6 @@ my $js = qq(
else { document.getElementById("changepw$id\_password").disabled = 'true'; }
return false;
}
-);
+) unless $opt{'for_prospect'};
</%init>
diff --git a/httemplate/elements/tr-select-part_referral.html b/httemplate/elements/tr-select-part_referral.html
index 5041f7f73..4a9cafd01 100644
--- a/httemplate/elements/tr-select-part_referral.html
+++ b/httemplate/elements/tr-select-part_referral.html
@@ -11,7 +11,9 @@
</FONT>
% } elsif ( scalar( @{$opt{'part_referrals'}} ) == 1 ) {
- <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'refnum' %>" VALUE="<% $opt{'part_referrals'}->[0]->refnum %>">
+ <TR><TD COLSPAN="<% $colspan %>">
+ <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'refnum' %>" VALUE="<% $opt{'part_referrals'}->[0]->refnum %>">
+ </TD></TR>
% } else {
<& /elements/tr-td-label.html, label => 'Advertising source', %opt &>