summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-04-02 16:43:35 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-04-02 16:43:35 -0400
commit3677b13a59fb77df778aff01d8e815150f6ec86b (patch)
tree0b60009590d8b10d2849b04f8b8a9efbbcb124c8 /www/js/EventCtrl.js
parent11fb620b9234b174aa232ec51a2555aec6dcb7dd (diff)
#209 and #215 - have fun
Former-commit-id: 4b8bd8773014a7f6d34b011494e6451ae15b326f
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js22
1 files changed, 21 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 085893f7..a489cb0e 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -1255,6 +1255,24 @@ angular.module('zmApp.controllers')
return basePath;
}
+ $scope.analyzeEvent = function(ev)
+ {
+ $scope.event = ev;
+ $ionicModal.fromTemplateUrl('templates/timeline-modal.html', {
+ scope: $scope, // give ModalCtrl access to this scope
+ animation: 'slide-in-up',
+ id:'analyze',
+ })
+ .then(function (modal) {
+ $scope.modal = modal;
+
+
+
+
+ $scope.modal.show();
+
+ });
+ };
//--------------------------------------------------------
//This is called when we first tap on an event to see
@@ -1265,6 +1283,7 @@ angular.module('zmApp.controllers')
//--------------------------------------------------------
$scope.openModal = function (event) {
+
//ZMDataModel.zmDebug("EventCtrl: Open Modal with Base path " + relativepath);
$scope.event = event;
@@ -1287,7 +1306,8 @@ angular.module('zmApp.controllers')
$ionicModal.fromTemplateUrl('templates/events-modal.html', {
scope: $scope,
- animation: 'slide-in-up'
+ animation: 'slide-in-up',
+ id:'footage',
})
.then(function (modal) {
$scope.modal = modal;