diff options
Diffstat (limited to 'addons/mail/static/src/js/thread_field.js')
| -rw-r--r-- | addons/mail/static/src/js/thread_field.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/thread_field.js b/addons/mail/static/src/js/thread_field.js index 5c85a2adb37..a3807802ad7 100644 --- a/addons/mail/static/src/js/thread_field.js +++ b/addons/mail/static/src/js/thread_field.js @@ -71,6 +71,12 @@ var ThreadField = AbstractField.extend({ //-------------------------------------------------------------------------- /** + * @param {integer[]} attachmentIDs + */ + removeAttachments: function (attachmentIDs) { + this._documentThread.removeAttachmentsFromMessages(attachmentIDs); + }, + /** * @override * @return {boolean} */ |
