X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=599f6629d4af03cfb317a2af5d5a345dbbb5712d;hb=90e15da7354b55cc5461b58ac087096ed47e0240;hp=43e520155d3e6864199ae9e44d991327848cc86e;hpb=e517b3733dd3d19a7af586c9f4b8cf9982a8b3d2;p=freeside.git
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 43e520155..599f6629d 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 {
@@ -40,6 +42,8 @@
% }
% } elsif ( $field eq 'emailaddress' ) {
% $value = join(', ', map $_->emailaddress, $contact->contact_email);
+% } elsif ( $field eq 'password' ) {
+% $value = $contact->get('_password') ? '********' : '';
% } elsif ( $field eq 'selfservice_access'
% or $field eq 'comment'
% or $field eq 'invoice_dest'
@@ -56,28 +60,25 @@
ID = "<%$id%>_<%$field%>"
STYLE = "width: 140px"
>
-