From 51bd0409918444b3e5f8b67f63863ca73357a123 Mon Sep 17 00:00:00 2001 From: Halali Date: Tue, 12 Feb 2019 10:47:26 +0100 Subject: [PATCH] Changes for subfolder settings --- views/settings.tpl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/views/settings.tpl b/views/settings.tpl index d1662b3ee..e09bb5285 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -1073,6 +1073,7 @@ + @@ -1085,7 +1086,7 @@ -
+
@@ -2007,6 +2008,19 @@ } }); + if ($('#settings_subfolder').val() !== "custom") { + $('.subfolder').hide(); + } + + $('#settings_subfolder').dropdown('setting', 'onChange', function(){ + if ($('#settings_subfolder').val() !== "custom") { + $('.subfolder').hide(); + } + else { + $('.subfolder').show(); + } + }); + if ($('#settings_auth_type').val() === "None") { $('.auth_option').hide(); }