commit
2ba7427a6a
@ -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();
|
||||
});
|
||||
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user