diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 155b379b2e2..84b27b00da7 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -827,9 +827,10 @@ openerp.mail = function (session) { return false; }, - /*The selected thread and all childs (messages/thread) became read - * @param {object} mouse envent - */ + /* Set the selected thread and all childs as read or unread, based on + * read parameter. + * @param {boolean} read_value + */ on_message_read_unread: function (read_value) { var self = this; var messages = [this].concat(this.get_childs());