diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-08-23 09:03:18 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-08-23 09:03:18 -0400 |
| commit | 799075d63da6a424a32df6d397fc93ee564bd18d (patch) | |
| tree | cb06802df530df732fd232a58be12f221fc97e55 /www/js/TimelineCtrl.js | |
| parent | 09a2f3ccfe1afd1de54ecc8bef52540279dcd641 (diff) | |
upgraded to ionic content 1.0.1
Diffstat (limited to 'www/js/TimelineCtrl.js')
| -rw-r--r-- | www/js/TimelineCtrl.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index f626ea32..894ce566 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -354,7 +354,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla - var maxItems = 200; // THAT magic # --> 300 and ZM on my m/c cries + var maxItems = zm.graphItemMax; // THAT magic # --> 300 and ZM on my m/c cries $scope.maxItems = maxItems; $scope.graphLoaded = false; @@ -575,7 +575,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla if (graphIndex > 200) { - ZMDataModel.zmLog ("Exiting page count graph - reached 200"); + ZMDataModel.zmLog ("Exiting page count graph - reached limit of " + zm.graphItemMax); break; } @@ -596,15 +596,15 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla myename: myevents[i].Event.Name, }); - console.log ("Added: Monitor:"+myevents[i].Event.MonitorId + - " Start:" + myevents[i].Event.StartTime + - " Stop:"+myevents[i].Event.EndTime); + //console.log ("Added: Monitor:"+myevents[i].Event.MonitorId + + // " Start:" + myevents[i].Event.StartTime + + // " Stop:"+myevents[i].Event.EndTime); graphIndex++; - if (graphIndex > 200) + if (graphIndex > zm.graphItemMax) { - ZMDataModel.zmLog ("Exiting event graph - reached 200"); + ZMDataModel.zmLog ("Exiting event graph - reached limit of " + zm.graphItemMax); break; } |
