fix(mail(js)): refresh of parent window when saving draft/template

This commit is contained in:
Francis Lachapelle
2022-05-17 15:31:59 -04:00
parent 35f9f35ef0
commit 715cf71ba3
3 changed files with 10 additions and 3 deletions

View File

@@ -101,6 +101,8 @@
// Cancel automatic mark as read
if (vm.message.$markAsReadPromise)
vm.service.$timeout.cancel(vm.message.$markAsReadPromise);
// Remove controller from window
delete $window.$messageController;
});
}; // $onInit