timelapse tab unsaved warning and rearrange interval input box
Addition of a notification under the save button when there are unsaved changes, and a notice under the save as default checkbox when unticked, that changes are only temporary. Also move the "interval" box up the top to position it underneath the timelapse type dropdown list, and change the text to be a bit more descriptive. (cherry picked from commit 381a016)
This commit is contained in:
1 parent
627d11fa51
commit
87be930a68
2 files changed
+16
-10
No files matched your search
@@ -21,6 +21,7 @@ $(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);
|
||||
@@ -30,6 +31,10 @@ $(function() {
|
||||
self.isReady = ko.observable(undefined);
|
||||
self.isLoading = ko.observable(undefined);
|
||||
|
||||
self.isTemporary = ko.pureComputed(function() {
|
||||
return self.isDirty() && !self.persist();
|
||||
});
|
||||
|
||||
self.isBusy = ko.pureComputed(function() {
|
||||
return self.isPrinting() || self.isPaused();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user