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 --- config.xml | 6 +++--- package.json | 4 ++-- www/js/MonitorCtrl.js | 8 ++++++++ www/templates/monitors.html | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/config.xml b/config.xml index 6b0f3ee7..9ee46f40 100644 --- a/config.xml +++ b/config.xml @@ -172,10 +172,10 @@ - - - + + + diff --git a/package.json b/package.json index 9a2e7584..e8beca7d 100644 --- a/package.json +++ b/package.json @@ -56,10 +56,10 @@ "cordova-plugin-photo-library": { "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Save monitor photos to albums " }, - "cordova-plugin-media-pp-fork": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" - } + }, + "cordova-plugin-media-pp-fork": {} } }, "dependencies": { 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 @@ -- cgit v1.2.3