summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/draft_box.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/mail_view/ui/draft_box.js')
-rw-r--r--web-ui/app/js/mail_view/ui/draft_box.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-ui/app/js/mail_view/ui/draft_box.js b/web-ui/app/js/mail_view/ui/draft_box.js
index d997e40c..adad108f 100644
--- a/web-ui/app/js/mail_view/ui/draft_box.js
+++ b/web-ui/app/js/mail_view/ui/draft_box.js
@@ -53,6 +53,7 @@ define(
this.renderDraftBox = function(ev, data) {
var mail = data.mail;
+ var body = mail.textPlainBody;
this.attr.ident = mail.ident;
this.render(templates.compose.box, {
@@ -62,7 +63,7 @@ define(
bcc: mail.header.bcc
},
subject: mail.header.subject,
- body: mail.body
+ body: body
});
this.select('recipientsFields').show();