From d6189d6f85897be4250ca4b87f21f6113a10b68c Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Fri, 11 Sep 2015 16:26:13 +0100 Subject: Enabled a run time debug mode so I can see more details when testers report quirky bugs. It's in developer options. --- www/js/EventsGraphsCtrl.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/js/EventsGraphsCtrl.js') diff --git a/www/js/EventsGraphsCtrl.js b/www/js/EventsGraphsCtrl.js index 352b9108..05deb431 100644 --- a/www/js/EventsGraphsCtrl.js +++ b/www/js/EventsGraphsCtrl.js @@ -149,11 +149,11 @@ angular.module('zmApp.controllers').controller('zmApp.EventsGraphsCtrl', ['$ioni "/events/index/MonitorId:" + monitors[j].Monitor.Id + dateString + ".json?page=1"; // console.log("Monitor event URL:" + url); - + ZMDataModel.zmLog ("EventGraph: composed url is " + url); $http.get(url /*,{timeout:15000}*/ ) .success(function (data) { - console.log("**** EVENT COUNT FOR MONITOR " + - monitors[j].Monitor.Id + " IS " + data.pagination.count); + ZMDataModel.zmDebug("Event count for monitor" + + monitors[j].Monitor.Id + " is " + data.pagination.count); $scope.chart.data.datasets[0].data[j] = data.pagination.count; }) .error(function (data) { -- cgit v1.2.3