summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-07-15 14:32:31 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-07-15 14:32:31 -0400
commitcdf7b2897ff2fd61e79ff53f801a0592b9627176 (patch)
tree6877f7235f48508344897901328a1fa8114c2569 /www/js
parent70e8efd97520d221807be9b5e3f5489a45c56b91 (diff)
#832 - get out of hrefs
Diffstat (limited to 'www/js')
-rw-r--r--www/js/MonitorCtrl.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index e36d233d..45d0d9a5 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -65,6 +65,14 @@ angular.module('zmApp.controllers')
}
};
+ $scope.gotoEvents = function (mid) {
+ $state.go("app.events", {
+ "id": mid,
+ "playEvent": false
+ });
+ return;
+ };
+
function noop() {}
//-----------------------------------------------------------------------
// This function takes care of changing monitor parameters