Improve webmail editor

- Fixed handling of saving drafts
- Fixed handling of message type (HTML/plain)
- Added primitive handling of attachments
This commit is contained in:
Francis Lachapelle
2015-06-11 15:42:34 -04:00
parent 32196b56db
commit 533d7110c7
8 changed files with 137 additions and 61 deletions
@@ -277,7 +277,7 @@
// Build map of UID <=> index
_this.uidsMap[data.uid] = i;
msgs.push(new Mailbox.$Message(_this.$account.id, _this.path, data));
msgs.push(new Mailbox.$Message(_this.$account.id, _this, data));
return msgs;
}, _this.$messages);