From cda5d4a1c9017047680d6931ad61fc0c8060a821 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 24 Jun 2019 10:10:31 -0400 Subject: #823 fix relayout issues, re-order issues etc --- www/js/NVR.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/js/NVR.js') 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); -- cgit v1.2.3