Merge pull request #43 from SenorSmartyPants/FixSave

Don't navigate to another page, display saved settings instead
This commit is contained in:
Cody Robibero
2022-08-13 14:45:52 -06:00
committed by GitHub
@@ -58,7 +58,7 @@
});
document.querySelector('#TemplateConfigForm')
.addEventListener('submit', function() {
.addEventListener('submit', function(e) {
Dashboard.showLoadingMsg();
ApiClient.getPluginConfiguration(TemplateConfig.pluginUniqueId).then(function (config) {
config.Options = document.querySelector('#Options').value;
@@ -70,6 +70,7 @@
});
});
e.preventDefault();
return false;
});
</script>