summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src')
-rw-r--r--addons/mail/static/src/js/mail.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js
index 4872200ef15..ab3ddf4f65c 100644
--- a/addons/mail/static/src/js/mail.js
+++ b/addons/mail/static/src/js/mail.js
@@ -49,7 +49,7 @@ var TimelineRecordThread = form_common.AbstractField.extend ({
'readonly': this.node.attrs.readonly || false,
'compose_placeholder' : this.node.attrs.placeholder || false,
'display_log_button' : this.options.display_log_button || true,
- 'show_compose_message': this.view.is_action_enabled('edit') || false,
+ 'show_compose_message': true,
'show_link': this.parent.is_action_enabled('edit') || true,
}, this.node.params);
},
@@ -1434,7 +1434,6 @@ var ComposeMessage = Attachment.extend ({
}
}
}
-
this.$(".o_timeline_msg_attachment_list").html(this.display_attachments(this));
var $input = this.$('input.oe_form_binary_file');