Fix popup window detection in message viewer

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