summaryrefslogtreecommitdiff
path: root/www
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
parent04baae77bcab54ef86cd1824608d1e6e63f4d176 (diff)
minor log stuff and cleanup
Diffstat (limited to 'www')
-rw-r--r--www/js/EventCtrl.js8
-rw-r--r--www/templates/events.html2
2 files changed, 5 insertions, 5 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)
diff --git a/www/templates/events.html b/www/templates/events.html
index afb4c502..717788e3 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -9,7 +9,7 @@
</ion-nav-buttons>
<ion-nav-buttons side="right">
<a style="" class="button button-icon icon ion-android-more-vertical" ng-click="popover.show($event)" ;>&nbsp;&nbsp;&nbsp;</a>
- <a style="" class="button button-icon icon ion-search" ng-href="" ng-click="searchClicked();"> </a>
+ <a class="button button-icon icon ion-search" ng-href="" ng-click="searchClicked();"> </a>
</ion-nav-buttons>
<div ng-if="showSearch">
<ion-header-bar class="bar bar-subheader item-input-inset">