X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=48b5e2ce236e891af1909d9fa260f038ca85b510;hb=a495aa8d41e752490fff8d61aa190601c51a2cb1;hp=5588890c892ccd01046b632a3faad7c7bf2c60a2;hpb=8ca45ec1f1ab960ee1e262ee764f05d214728d05;p=freeside.git
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 5588890c8..48b5e2ce2 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -1,4 +1,6 @@
-% unless ( $opt{'js_only'} ) {
+% if ( $opt{'js_only'} ) {
+<% $js %>
+% } else {
@@ -75,23 +77,8 @@
VALUE = ""
placeholder = "<% $value |h %>"
>
-% my $contactnum = $curr_value ? $curr_value : '0';
-
-
-
% } elsif ( $field eq 'invoice_dest' || $field eq 'message_dest' ) {
% my $curr_value = $cgi->param($name . '_' . $field);
@@ -116,7 +103,7 @@
<% $label{$field} %>
% if ( $field eq 'password' ) {
-