diff options
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index bde55b86..a5ddc44d 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -950,6 +950,15 @@ angular.module('zmApp.controllers') }; + $scope.alarmSwipe = function(e) + { + + //alert ("HERE"); + console.log ("HERE"); + e.stopPropagation(); + e.preventDefault(); + }; + $scope.toggleMotionOutline = function() { $scope.outlineMotion = !$scope.outlineMotion; @@ -2079,6 +2088,7 @@ angular.module('zmApp.controllers') } event.Event.ShowScrub = !event.Event.ShowScrub; + //console.log ("SCRUBBING IS "+event.Event.ShowScrub); // $ionicScrollDelegate.resize(); //console.log ("GROUP TYPE IS " + groupType); @@ -2088,8 +2098,8 @@ angular.module('zmApp.controllers') if (groupType == 'alarms') { - $ionicListDelegate.canSwipeItems(false); - NVRDataModel.debug ("Disabling flag swipe as alarms are swipable"); + // $ionicListDelegate.canSwipeItems(false); + //NVRDataModel.debug ("Disabling flag swipe as alarms are swipable"); $scope.alarm_images = []; event.Event.height = (eventsListDetailsHeight + eventsListScrubHeight); $ionicScrollDelegate.resize(); |
