From 8f5fa0ea6717ae2057ab55284d66b23ace8d297b Mon Sep 17 00:00:00 2001 From: dkanada Date: Sat, 4 Jul 2020 23:33:19 +0900 Subject: [PATCH 1/2] update checkbox usages --- .../Configuration/configPage.html | 150 +++++++++--------- 1 file changed, 75 insertions(+), 75 deletions(-) diff --git a/Jellyfin.Plugin.Template/Configuration/configPage.html b/Jellyfin.Plugin.Template/Configuration/configPage.html index b972709..bb6b70a 100644 --- a/Jellyfin.Plugin.Template/Configuration/configPage.html +++ b/Jellyfin.Plugin.Template/Configuration/configPage.html @@ -1,75 +1,75 @@ - - - - - Template - - -
-
-
-
-
- - -
-
- - -
A Description
-
-
- -
-
- - -
Another Description
-
-
- -
-
-
-
- -
- - + + + + + Template + + +
+
+
+
+
+ + +
+
+ + +
A Description
+
+
+ +
+
+ + +
Another Description
+
+
+ +
+
+
+
+ +
+ + From 56f77ee7af3e88a97fd4454364cb25470235f16e Mon Sep 17 00:00:00 2001 From: dkanada Date: Sat, 4 Jul 2020 23:55:56 +0900 Subject: [PATCH 2/2] one more checked reference --- Jellyfin.Plugin.Template/Configuration/configPage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Plugin.Template/Configuration/configPage.html b/Jellyfin.Plugin.Template/Configuration/configPage.html index bb6b70a..02d1d8a 100644 --- a/Jellyfin.Plugin.Template/Configuration/configPage.html +++ b/Jellyfin.Plugin.Template/Configuration/configPage.html @@ -50,7 +50,7 @@ ApiClient.getPluginConfiguration(TemplateConfig.pluginUniqueId).then(function (config) { $('#Options').val(config.Options).change(); $('#AnInteger').val(config.AnInteger).change(); - $('#TrueFalseSetting').checked = config.TrueFalseSetting; + document.getElementById('TrueFalseSetting').checked = config.TrueFalseSetting; $('#AString').val(config.AString).change(); Dashboard.hideLoadingMsg(); });