From da1db311fb6835e8d0b60cf073cd8803e96fe0a6 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 25 Oct 2018 13:06:47 -0400 Subject: fix live playback url, show snapshot instead of auto play #725 --- www/js/EventCtrl.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'www/js/EventCtrl.js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 1fe91c6e..51333424 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -140,7 +140,7 @@ angular.module('zmApp.controllers') }; $scope.event = event; $scope.currentEvent = event; - openModal(event); + openModal(event, 'enabled'); } @@ -161,10 +161,13 @@ angular.module('zmApp.controllers') //console.log ("********* BEFORE ENTER"); // + $scope.mid = ''; + $scope.$on ( "process-push", function () { NVRDataModel.debug (">> EventCtrl: push handler"); var s = NVRDataModel.evaluateTappedNotification(); NVRDataModel.debug("tapped Notification evaluation:"+ JSON.stringify(s)); + $scope.mid = $rootScope.tappedMid; $ionicHistory.nextViewOptions({ disableAnimate:true, disableBack: true -- cgit v1.2.3