diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-08-19 15:12:58 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-08-19 15:12:58 -0400 |
| commit | d2b35b896c5960b27047321769186b32819e9a0b (patch) | |
| tree | 92172015955f95e3db1e139f647a943acc60ec6e /www/js/MonitorCtrl.js | |
| parent | 9f0172691266b92b5204e440c0b31188f0eeb4ac (diff) | |
Fixed monitor view and montage performance - nph-zms instances were building up at the server killing it after repeated use. phew
Diffstat (limited to 'www/js/MonitorCtrl.js')
| -rw-r--r-- | www/js/MonitorCtrl.js | 16 |
1 files changed, 1 insertions, 15 deletions
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 - }); - }; - + //----------------------------------------------------------------------- |
