summaryrefslogtreecommitdiff
path: root/www/js/NVR.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/NVR.js')
-rw-r--r--www/js/NVR.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index 7239c72a..7ff7078e 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -1971,13 +1971,13 @@ angular.module('zmApp.controllers')
return timeSinceResumed;
},
- stopNetwork: function (str) {
+ stopNetwork: function (str, dontDoIt) {
var d = $q.defer();
var s = "";
if (str) s = str + ":";
- if (justResumed) {
+ if (justResumed || dontDoIt) {
// we don't call stop as we did stop on pause
- log(s + " Not calling window stop as we just resumed");
+ log(s + " Not calling window stop ");
d.resolve(true);
return (d.promise);