summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-04-21 15:20:49 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-04-21 15:20:49 -0400
commit3b82e939beb7bd2cdbee8727c1ca3690ba10a3b0 (patch)
treefef94dc89acc314a5ed319752f27dfeff8c2d689 /www
parent729afac8680650038d825defcdc36c2ecf8c7fbd (diff)
make sure you can't drag menu when scrub is on
Former-commit-id: 1e94e40a171c68cafe726889fcd6fec86531604e
Diffstat (limited to 'www')
-rw-r--r--www/js/EventCtrl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 98349fdb..6bb83bd2 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -670,6 +670,7 @@ angular.module('zmApp.controllers')
if (event.Event.ShowScrub == true) // turn on display now
{
+
if (groupType == 'alarms')
{
$scope.alarm_images=[];
@@ -713,7 +714,7 @@ angular.module('zmApp.controllers')
$scope.currentEvent = "";
$scope.event = event;
//$ionicScrollDelegate.freezeScroll(true);
- $ionicSideMenuDelegate.canDragContent(true);
+ $ionicSideMenuDelegate.canDragContent(false);
$scope.slider_options = {
from: 1,
to: event.Event.Frames,