diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-07-04 18:34:36 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-07-04 18:34:36 -0400 |
| commit | 3ba89992702770cd54add7909c61278bee329b81 (patch) | |
| tree | 83ece2db8113c66dcb6cc9b6adde9fba0b39b17f /www/js/EventCtrl.js | |
| parent | cb91226a89d84b39c47b15fc88ef0b56ac7ad5fd (diff) | |
resolved fixme notes
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index c0e8f7d6..7320a03c 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -62,11 +62,6 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$scope', '$r // FIXME: This is a hack var pageLoaded = false; - - - // FIXME: Hack or elegance? - // to get rid of full stack event get on search - var enableLoadMore = true; // When loading images, it sometimes takes time - the images can be quite @@ -87,10 +82,6 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$scope', '$r // First get total pages and then // start from the latest. If this fails, nothing displays - // FIXME: clean up error handling - - // FIXME: call loadMore once -- to fill up page. Its possible - // last event page only has a few records ZMDataModel.getEventsPages($scope.id) .then(function (data) { @@ -119,6 +110,9 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$scope', '$r }); + // not explictly handling error --> I have a default "No events found" message + // displayed in the template if events list is null + $scope.openMenu = function () { $ionicSideMenuDelegate.toggleLeft(); @@ -265,8 +259,7 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$scope', '$r }); } var loginData = ZMDataModel.getLogin(); - // FIXME: CMD_SLOWFWD CMD_FASTFWD and REVs - // Also read up CMD_QUERY as the stream is playing + /* var CMD_NONE = 0; var CMD_PAUSE = 1; |
