update checkbox usages

This commit is contained in:
dkanada 2020-07-04 23:33:19 +09:00
parent 9e6ec93759
commit 8f5fa0ea67

View File

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