diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 17:20:25 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 17:20:25 -0500 |
| commit | bf239e006e52349861a62dab2e2cdf2c5c484f58 (patch) | |
| tree | 37e058aa0c40da78e94c748f36ef9f0b03b730a2 /www/js/TimelineCtrl.js | |
| parent | 8454b1836c03d70c2591b2e42d5ca28be7528a96 (diff) | |
#104 - configurable timeline items
Former-commit-id: 2aae9b3abc8f5498490768c4f027d5ac5b9ebdd2
Diffstat (limited to 'www/js/TimelineCtrl.js')
| -rw-r--r-- | www/js/TimelineCtrl.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index 5569c0ca..7f100ff5 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -279,7 +279,9 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla console.log ("*********************** TIMELINE MAIN "); // maxItems will be ignored during timeline draw if its desktop - var maxItems = ($rootScope.platformOS == 'desktop') ? zm.graphDesktopItemMax: zm.graphItemMax; + // var maxItems = ($rootScope.platformOS == 'desktop') ? zm.graphDesktopItemMax: zm.graphItemMax; + var ld = ZMDataModel.getLogin(); + var maxItems = ld.graphSize || 200; $scope.maxItems = maxItems; $scope.graphLoaded = false; |
