diff --git a/octoprint_enclosure/static/js/enclosure.js b/octoprint_enclosure/static/js/enclosure.js index 3c247aa..fc883be 100644 --- a/octoprint_enclosure/static/js/enclosure.js +++ b/octoprint_enclosure/static/js/enclosure.js @@ -137,7 +137,7 @@ $(function () { }); - self.fromInputData = function (data) { + self.fromOutputData = function (data) { self.isNew(data === undefined); diff --git a/octoprint_enclosure/templates/enclosure_settings.jinja2 b/octoprint_enclosure/templates/enclosure_settings.jinja2 index f76a0bd..c4abac7 100644 --- a/octoprint_enclosure/templates/enclosure_settings.jinja2 +++ b/octoprint_enclosure/templates/enclosure_settings.jinja2 @@ -11,4 +11,8 @@ {% include "input_editor/main_screen.jinja2" %} - \ No newline at end of file + + + \ No newline at end of file diff --git a/octoprint_enclosure/templates/input_editor/main_screen.jinja2 b/octoprint_enclosure/templates/input_editor/main_screen.jinja2 index b89e373..04f30e1 100644 --- a/octoprint_enclosure/templates/input_editor/main_screen.jinja2 +++ b/octoprint_enclosure/templates/input_editor/main_screen.jinja2 @@ -21,33 +21,32 @@