summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-26 15:28:22 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-26 15:28:22 -0500
commitd77d5e2e321e9f17b736d87b38e32992bd8ffea3 (patch)
treed5a0551d5bd7eab9f8927474df629ebe1dbb4e15 /www/js/EventCtrl.js
parent04baae77bcab54ef86cd1824608d1e6e63f4d176 (diff)
minor log stuff and cleanup
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 9c128ad1..3d584ae1 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -384,7 +384,7 @@ angular.module('zmApp.controllers')
if ($rootScope.toString)
nolangTo = moment($rootScope.toString).locale('en').format("YYYY-MM-DD HH:mm:ss");
- // console.log ("GETTING EVENTS USING "+$scope.id+" "+nolangFrom+" "+ nolangTo)
+ //NVRDataModel.debug ("GETTING EVENTS USING "+$scope.id+" "+nolangFrom+" "+ nolangTo);
NVRDataModel.getEventsPages($scope.id, nolangFrom, nolangTo)
.then(function(data)
{
@@ -520,13 +520,13 @@ angular.module('zmApp.controllers')
if (idfound)
{
- //console.log ("PUSHING "+JSON.stringify(myevents[i]));
+ //NVRDataModel.debug ("PUSHING "+JSON.stringify(myevents[i]));
$scope.events.push(myevents[i]);
//console.log ("SCOPE EVENTS LEN="+$scope.events.length);
}
else
{
- console.log ("Skipping Event MID = " + myevents[i].Event.MonitorId);
+ //NVRDataModel.debug ("Skipping Event MID = " + myevents[i].Event.MonitorId);
}
} //for
@@ -1203,7 +1203,7 @@ angular.module('zmApp.controllers')
//----------------------------------------------------------
// create an array of images
- // too keep memory manageable, we are only going to pick up alarmed frames
+ // to keep memory manageable, we are only going to pick up alarmed frames
// and that too, max 1ps
// --------------------------------------------------------------
function prepareImages(e)