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 ++++++++ www/templates/monitors.html | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'www') 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 diff --git a/www/templates/monitors.html b/www/templates/monitors.html index c202f1c4..691a6844 100644 --- a/www/templates/monitors.html +++ b/www/templates/monitors.html @@ -57,7 +57,7 @@
{{'kConfiguration' | translate}} - {{'kEventsCap'|translate}} + {{'kEventsCap'|translate}} {{'kLiveView' | translate}}
-- cgit v1.2.3