diff options
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index d842c4ed..5ca4bead 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -117,7 +117,7 @@ angular.module('zmApp.controllers') $ionicPlatform.registerBackButtonAction(function (e) { e.preventDefault(); - if ($scope.modal.isShown()) + if ($scope.modal !=undefined && $scope.modal.isShown()) { // switch off awake, as liveview is finished ZMDataModel.zmDebug("Modal is open, closing it"); |
