(js) Refresh draft folder when saving new message

This commit is contained in:
Francis Lachapelle 2015-12-01 16:26:30 -05:00
parent 38963916aa
commit f0ec431f30

View file

@ -141,6 +141,12 @@
delete this.$mailbox.uidsMap[oldUID];
}
}
else {
// Refresh selected folder if it's the drafts mailbox
if (this.$mailbox.constructor.selectedFolder.type == 'draft') {
this.$mailbox.constructor.selectedFolder.$filter();
}
}
}
};