From d2b35b896c5960b27047321769186b32819e9a0b Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Wed, 19 Aug 2015 15:12:58 -0400 Subject: Fixed monitor view and montage performance - nph-zms instances were building up at the server killing it after repeated use. phew --- www/js/MonitorCtrl.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'www/js/MonitorCtrl.js') diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js index a44e4a95..d0d5a37e 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -30,21 +30,7 @@ angular.module('zmApp.controllers').controller('zmApp.MonitorCtrl', ['$ionicPopu }; - //----------------------------------------------------------------------- - // All we do here is create a new random val for the URL so the - // image regenerates - //----------------------------------------------------------------------- - $scope.reloadView = function () { - console.log("*** Refreshing Modal view ***"); - $rootScope.rand =Math.floor(Math.random() * (999999 - 111111 + 1)) + 111111; - $scope.rand = Math.floor(Math.random() * (999999 - 111111 + 1)) + 111111; - $ionicLoading.show({ - template: "refreshed view", - noBackdrop: true, - duration: 2000 - }); - }; - + //----------------------------------------------------------------------- -- cgit v1.2.3