X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=308b846bcea9e28bfd87049fa427174a1e73f775;hb=1a320aa8f679a355bd3678ccceb5d7ecf7b0aeba;hp=43e520155d3e6864199ae9e44d991327848cc86e;hpb=e517b3733dd3d19a7af586c9f4b8cf9982a8b3d2;p=freeside.git
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 43e520155..308b846bc 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"
>
-