mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-20 22:23:19 +00:00
fix(mail(js)): handle new message from template in popup window
This commit is contained in:
@@ -83,6 +83,14 @@
|
||||
_addAttachments();
|
||||
});
|
||||
}
|
||||
else if ($stateParams.actionName == 'compose') {
|
||||
stateMessage.$compose().then(function(msgObject) {
|
||||
vm.message = msgObject;
|
||||
vm.fromIdentity = msgObject.editable.from;
|
||||
_updateFileUploader();
|
||||
_addAttachments();
|
||||
});
|
||||
}
|
||||
else if (angular.isDefined(stateMessage)) {
|
||||
this.message = stateMessage;
|
||||
_updateFileUploader();
|
||||
|
||||
Reference in New Issue
Block a user