summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
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 &>