summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r--settings/js/admin.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 56bbaead520..1c766ef51a5 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -158,6 +158,7 @@ $(document).ready(function(){
$('#mail_smtpsecure_label').addClass('hidden');
$('#mail_smtpsecure').addClass('hidden');
$('#mail_credentials').addClass('hidden');
+ $('#mail_sendmailmode_label, #mail_sendmailmode').removeClass('hidden');
} else {
$('#setting_smtpauth').removeClass('hidden');
$('#setting_smtphost').removeClass('hidden');
@@ -166,6 +167,7 @@ $(document).ready(function(){
if ($('#mail_smtpauth').is(':checked')) {
$('#mail_credentials').removeClass('hidden');
}
+ $('#mail_sendmailmode_label, #mail_sendmailmode').addClass('hidden');
}
});