[IMP] mail: openchatter fadeout fix

bzr revid: chm@openerp.com-20121029142856-kd2mnje5w4ee5x3t
This commit is contained in:
Christophe Matthieu 2012-10-29 15:28:56 +01:00
parent 061fd61d64
commit 54a945f63c
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
},
/**