diff options
Diffstat (limited to 'js/views/messageview.js')
-rw-r--r-- | js/views/messageview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/views/messageview.js b/js/views/messageview.js index 80f7be5ac..3da3a21e9 100644 --- a/js/views/messageview.js +++ b/js/views/messageview.js @@ -38,6 +38,7 @@ define(function(require) { replyComposer: '#reply-composer', attachments: '.mail-message-attachments' }, + initialize: function(options) { this.account = options.account; this.folder = options.folder; @@ -52,7 +53,7 @@ define(function(require) { var text = HtmlHelper.htmlToText(this.messageBody.get('body')); this.reply.body = '\n\n\n\n' + - this.messageBody.get('from') + ' – ' + + this.messageBody.get('from')[0].label + ' – ' + $.datepicker.formatDate('D, d. MM yy ', date) + date.getHours() + ':' + (minutes < 10 ? '0' : '') + minutes + '\n> ' + text.replace(/\n/g, '\n> '); |