From cdf7b2897ff2fd61e79ff53f801a0592b9627176 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 15 Jul 2019 14:32:31 -0400 Subject: #832 - get out of hrefs --- www/js/MonitorCtrl.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'www/js/MonitorCtrl.js') 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 -- cgit v1.2.3