From 7795320fc81f69c9d8629e919409167fce0e8e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 15 May 2017 13:05:39 +0200 Subject: [PATCH] Allow timelapse config through UI when not connected to printer That restriction didn't really make sense. As mentioned in #1918 --- src/octoprint/static/js/app/viewmodels/timelapse.js | 2 +- src/octoprint/templates/tabs/timelapse.jinja2 | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/timelapse.js b/src/octoprint/static/js/app/viewmodels/timelapse.js index f6a96c68..ed26a414 100644 --- a/src/octoprint/static/js/app/viewmodels/timelapse.js +++ b/src/octoprint/static/js/app/viewmodels/timelapse.js @@ -48,7 +48,7 @@ $(function() { return ("timed" == self.timelapseType()); }); self.saveButtonEnabled = ko.pureComputed(function() { - return self.isDirty() && self.isOperational() && !self.isPrinting() && self.loginState.isUser(); + return self.isDirty() && !self.isPrinting() && self.loginState.isUser(); }); self.isOperational.subscribe(function() { diff --git a/src/octoprint/templates/tabs/timelapse.jinja2 b/src/octoprint/templates/tabs/timelapse.jinja2 index d749dcf7..0decec27 100644 --- a/src/octoprint/templates/tabs/timelapse.jinja2 +++ b/src/octoprint/templates/tabs/timelapse.jinja2 @@ -5,7 +5,7 @@

{{ _('Timelapse Configuration') }}

- @@ -16,25 +16,25 @@
- + {{ _('sec') }}
- + {{ _('fps') }}
- + {{ _('sec') }}
@@ -42,7 +42,7 @@
- + {{ _('mm') }}
{{ _('Enter the retraction z-hop used in the firmware or the gcode file to trigger snapshots for the timelapse only if a real layer change happens. For this to work properly your retraction z-hop has to be different from your layerheight!') }}