From 7bc0a6d1409283acf2bc8551629eb01a8e1bbb65 Mon Sep 17 00:00:00 2001 From: Safihre Date: Tue, 8 Jun 2021 11:45:31 +0200 Subject: [PATCH] Some Config functions were broken due to interface refactor --- interfaces/Config/templates/config_folders.tmpl | 1 + interfaces/Config/templates/config_general.tmpl | 3 ++- interfaces/Config/templates/config_notify.tmpl | 1 + interfaces/Config/templates/config_server.tmpl | 4 +++- interfaces/Config/templates/config_switches.tmpl | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/interfaces/Config/templates/config_folders.tmpl b/interfaces/Config/templates/config_folders.tmpl index 31d4f98..af4c371 100644 --- a/interfaces/Config/templates/config_folders.tmpl +++ b/interfaces/Config/templates/config_folders.tmpl @@ -10,6 +10,7 @@
+
diff --git a/interfaces/Config/templates/config_general.tmpl b/interfaces/Config/templates/config_general.tmpl index f967126..4f05b4b 100644 --- a/interfaces/Config/templates/config_general.tmpl +++ b/interfaces/Config/templates/config_general.tmpl @@ -10,7 +10,8 @@
- + +

$T('webServer')

diff --git a/interfaces/Config/templates/config_notify.tmpl b/interfaces/Config/templates/config_notify.tmpl index 50f392e..67d17c5 100644 --- a/interfaces/Config/templates/config_notify.tmpl +++ b/interfaces/Config/templates/config_notify.tmpl @@ -28,6 +28,7 @@
+
diff --git a/interfaces/Config/templates/config_server.tmpl b/interfaces/Config/templates/config_server.tmpl index 4d8df8a..f8e6ab0 100644 --- a/interfaces/Config/templates/config_server.tmpl +++ b/interfaces/Config/templates/config_server.tmpl @@ -34,6 +34,7 @@
+
@@ -139,6 +140,7 @@ + @@ -522,7 +524,7 @@ \$.ajax({ type: "POST", url: "../../api", - data: "mode=config&output=json&name=test_server&" + \$(this).parents('form:first').serialize() + data: "mode=config&name=test_server&" + \$(this).parents('form:first').serialize() }).then(function(data) { // Let's replace the link msg = data.value.message.replace('https://sabnzbd.org/certificate-errors', 'https://sabnzbd.org/certificate-errors') diff --git a/interfaces/Config/templates/config_switches.tmpl b/interfaces/Config/templates/config_switches.tmpl index 12705ec..3353cd1 100644 --- a/interfaces/Config/templates/config_switches.tmpl +++ b/interfaces/Config/templates/config_switches.tmpl @@ -11,6 +11,7 @@ +

$T('swtag-server')