summaryrefslogtreecommitdiff
path: root/www/js/MonitorCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MonitorCtrl.js')
-rw-r--r--www/js/MonitorCtrl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index 165c7c6b..2b1d1e9e 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -197,7 +197,8 @@ angular.module('zmApp.controllers').controller('zmApp.MonitorCtrl', ['$ionicPopu
});
$scope.$on('$ionicView.leave', function () {
- console.log("**VIEW ** Monitor Ctrl Left");
+ console.log("**VIEW ** Monitor Ctrl Left, force removing modal");
+ $scope.modal.remove();
});
$scope.$on('$ionicView.unloaded', function () {