From 316924fed856d6d3be675adc3275d13b78e9330c Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Thu, 5 Nov 2015 10:59:06 -0500 Subject: swipe support added #48 #49 --- www/js/EventCtrl.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'www/js/EventCtrl.js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 0f16ed31..a4da30dc 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -1247,6 +1247,14 @@ angular.module('zmApp.controllers') //Navigate to next/prev event in full screen mode //-------------------------------------------------------- + $scope.onSwipe = function(eid,dirn) + { + var ld = ZMDataModel.getLogin(); + if (!ld.canSwipeMonitors) return; + jumpToEvent(eid,dirn); + + }; + $scope.jumpToEvent = function (eid, dirn) { jumpToEvent(eid, dirn); -- cgit v1.2.3