Update Jellyfin.Plugin.Template/Configuration/configPage.html

Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
This commit is contained in:
Cody Robibero 2020-12-03 07:18:19 -07:00 committed by GitHub
parent ad597d71e1
commit fa2f1fc1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@
ApiClient.getPluginConfiguration(TemplateConfig.pluginUniqueId).then(function (config) { ApiClient.getPluginConfiguration(TemplateConfig.pluginUniqueId).then(function (config) {
config.Options = document.querySelector('#Options').value; config.Options = document.querySelector('#Options').value;
config.AnInteger = document.querySelector('#AnInteger').value; config.AnInteger = document.querySelector('#AnInteger').value;
config.TrueFalseSetting = document.getElementById('TrueFalseSetting').checked; config.TrueFalseSetting = document.querySelector('#TrueFalseSetting').checked;
config.AString = document.querySelector('#AString').value; config.AString = document.querySelector('#AString').value;
ApiClient.updatePluginConfiguration(TemplateConfig.pluginUniqueId, config).then(function (result) { ApiClient.updatePluginConfiguration(TemplateConfig.pluginUniqueId, config).then(function (result) {
Dashboard.processPluginConfigurationUpdateResult(result); Dashboard.processPluginConfigurationUpdateResult(result);