summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2018-11-12 23:27:18 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2018-11-29 16:02:36 +0100
commit92675a606e90a57745ee1059e56d264a3213c954 (patch)
tree1f464b2894e8ee14925a6de706893365a96cc907 /settings/js
parent446d96f3eb405302b75a3f0de094019dc25e5b44 (diff)
downloadnextcloud-server-92675a606e90a57745ee1059e56d264a3213c954.tar.gz
nextcloud-server-92675a606e90a57745ee1059e56d264a3213c954.zip
Add sendmailmode to gui
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'settings/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');
}
});