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