summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js8
1 files changed, 8 insertions, 0 deletions
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);