From 54a945f63c8329bb66d3db3015ec3f28d2c39715 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 29 Oct 2012 15:28:56 +0100 Subject: [PATCH] [IMP] mail: openchatter fadeout fix bzr revid: chm@openerp.com-20121029142856-kd2mnje5w4ee5x3t --- addons/mail/static/src/js/mail.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 5b42620b260..9133e5de257 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -711,7 +711,9 @@ openerp.mail = function (session) { this.$el.fadeOut(fadeTime, function () { self.parent_thread.message_to_expandable(self); }); - this.thread.$el.fadeOut(fadeTime); + if (this.thread) { + this.thread.$el.fadeOut(fadeTime); + } }, /**