summaryrefslogtreecommitdiff
path: root/httemplate
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:46:02 -0400
commit565565d9c5ffe709f95e527c13d90741645ff1cc (patch)
tree1ab58710209060fd5a21e62f496f065059346696 /httemplate
parent1d2cb271a07e021cef5d4cd2f4acf40f716d2daa (diff)
RT# 75357 - now new contact row in created in correct place
Diffstat (limited to 'httemplate')
-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 48b5e2ce2..599f6629d 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -206,6 +206,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 &>