From 13714dc8d9a1988c5241af5e5dc072e765852883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 16 Mar 2017 11:18:57 +0100 Subject: [PATCH] Enable save button when marking "save as default" --- src/octoprint/static/js/app/viewmodels/timelapse.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/octoprint/static/js/app/viewmodels/timelapse.js b/src/octoprint/static/js/app/viewmodels/timelapse.js index fb24cede..99b995f3 100644 --- a/src/octoprint/static/js/app/viewmodels/timelapse.js +++ b/src/octoprint/static/js/app/viewmodels/timelapse.js @@ -21,7 +21,6 @@ $(function() { self.persist = ko.observable(false); self.isDirty = ko.observable(false); - self.isTemporary = ko.observable(true); self.isErrorOrClosed = ko.observable(undefined); self.isOperational = ko.observable(undefined); @@ -71,6 +70,9 @@ $(function() { self.timelapseCapturePostRoll.subscribe(function() { self.isDirty(true); }); + self.persist.subscribe(function() { + self.isDirty(true); + }); // initialize list helper self.listHelper = new ItemListHelper(