summaryrefslogtreecommitdiff
path: root/httemplate/elements/contact.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-08-25 15:06:19 -0700
committerIvan Kohler <ivan@freeside.biz>2017-08-25 15:06:19 -0700
commitcbfeb5f6b7490f78361318ce6290bfb442dbfcbe (patch)
treee6409692bc2376649eeda94344f0a7f578a75428 /httemplate/elements/contact.html
parent8ffd7de981603a189cd0ea62ca948eaf3f66ca49 (diff)
parent5b5eb87bf66f1fac003a13dc2db48e8970c5c986 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements/contact.html')
-rw-r--r--httemplate/elements/contact.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 850c2540d..faee7ead4 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -57,7 +57,7 @@
>
<OPTION VALUE="">Disabled
% if ( $value || $self_base_url ) {
- <OPTION VALUE="Y" <% $value eq 'Y' ? 'SELECTED' : '' %>>Enabled
+ <OPTION VALUE="<% $value eq 'Y' ? 'Y' : 'E' %>" <% $value eq 'Y' ? 'SELECTED' : '' %>>Enabled
% if ( $value eq 'Y' && $self_base_url ) {
<OPTION VALUE="R">Re-email
<OPTION VALUE="P"><% $pwd_change_label %>
@@ -74,7 +74,7 @@
&>
<SCRIPT TYPE="text/javascript">
document.getElementById("<%$id%>_<%$field%>").onchange = function() {
- if (this.value == "P") { changepw<%$id%>_toggle(true); }
+ if (this.value == "P" || this.value == "E") { changepw<%$id%>_toggle(true); }
return false
}
</SCRIPT>