diff --git a/octoprint_customControl/static/js/customControl.js b/octoprint_customControl/static/js/customControl.js index 02f5aaa..ffcde28 100644 --- a/octoprint_customControl/static/js/customControl.js +++ b/octoprint_customControl/static/js/customControl.js @@ -94,8 +94,6 @@ else { control.template = ko.observable(control.template); control.regex = ko.observable(control.regex); - - control.output = ko.computed(function () { return control.template(); }); } } @@ -108,7 +106,6 @@ control.layout = ko.observable("vertical"); } else { - control.name = ko.observable(control.name); control.children = ko.observableArray(self._processControls(control, control.children)); if (!control.hasOwnProperty("layout") || !(control.layout == "vertical" || control.layout == "horizontal" || control.layout == "horizontal_grid")) control.layout = ko.observable("vertical"); diff --git a/octoprint_customControl/templates/octoprint_customControl_settings.jinja2 b/octoprint_customControl/templates/octoprint_customControl_settings.jinja2 index 00bd48f..04e1ebd 100644 --- a/octoprint_customControl/templates/octoprint_customControl_settings.jinja2 +++ b/octoprint_customControl/templates/octoprint_customControl_settings.jinja2 @@ -69,14 +69,14 @@ - - - \ No newline at end of file