From f8aab9107b428d4734d9cf3774aad98b80a57319 Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Mon, 4 Apr 2016 19:32:42 -0400 Subject: fixed modal bug of not showing events footage from timeline Former-commit-id: cb80f43b7a785ce3ce3094f4c49a9e5429f03478 --- www/js/TimelineCtrl.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/js/TimelineCtrl.js') diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index c3c05688..c99e0509 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -185,7 +185,8 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla $ionicModal.fromTemplateUrl('templates/events-modal.html', { scope: $scope, // give ModalCtrl access to this scope - animation: 'slide-in-up' + animation: 'slide-in-up', + id:'footage' }) .then(function (modal) { $scope.modal = modal; @@ -193,7 +194,8 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla $ionicLoading.show({ template: "please wait...", noBackdrop: true, - duration: 10000 + duration: 10000, + }); $scope.modal.show(); -- cgit v1.2.3