(js) Update raw source when editing a draft

This commit is contained in:
Francis Lachapelle committed 2016-05-10 21:23:15 -04:00
1 parent 315117b029
commit 42bdfbcf7b
3 files changed
+4 -3

No files matched your search

@@ -151,6 +151,7 @@
function save() {
var ctrls = $parentControllers();
vm.message.$save().then(function(data) {
vm.message.$rawSource = null;
if (ctrls.draftMailboxCtrl) {
// We're saving a draft from a popup window.
// Reload draft mailbox