summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-10-25 13:06:47 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-10-25 13:06:47 -0400
commitda1db311fb6835e8d0b60cf073cd8803e96fe0a6 (patch)
treec187173a26ce7a32ee74cfc2d913e451d0468616 /www/js/EventCtrl.js
parentecc85318c69c09b30382f0a26a7d461619d42c47 (diff)
fix live playback url, show snapshot instead of auto play #725
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js5
1 files changed, 4 insertions, 1 deletions
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