]> www.vanbest.org Git - motioneye-debian/commitdiff
the timelapse dialog is now attached to a running timelapse process
authorCalin Crisan <ccrisan@gmail.com>
Sun, 29 Mar 2015 14:45:53 +0000 (17:45 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Sun, 29 Mar 2015 14:45:53 +0000 (17:45 +0300)
instead of failing

static/js/main.js

index cf1a074ac229ec63564ca767ae739849b5f8dd70..b3b62c67dcf6f9fe751716f1ae03c7b153be300e 100644 (file)
@@ -2866,10 +2866,7 @@ function runTimelapseDialog(cameraId, groupKey, group) {
                     }
                     
                     if (data.progress != -1 && first) {
-                        hideModalDialog(); /* progress */
-                        hideModalDialog(); /* timelapse dialog */
-                        showErrorMessage('A timelapse movie is already being created.');
-                        return;
+                        showPopupMessage('A timelapse movie is already being created.');
                     }
                     
                     if (data.progress == -1 && !first && !data.key) {