Fix popup window detection in message viewer

Fixes #4518
This commit is contained in:
Francis Lachapelle
2018-09-12 16:21:00 -04:00
parent ff7e8cb2a3
commit ec4d93a845
5 changed files with 7 additions and 8 deletions
@@ -285,8 +285,6 @@
targetEvent: $event,
clickOutsideToClose: false,
escapeToClose: false,
scope: $scope,
preserveScope: true,
templateUrl: 'UIxMailEditor',
controller: 'MessageEditorController',
controllerAs: 'editor',
@@ -294,6 +292,7 @@
return onCompleteDeferred.resolve(element);
},
locals: {
stateParent: $scope,
stateAccount: vm.account,
stateMessage: message,
onCompletePromise: function () {