[FIX] mail: like/dislike

bzr revid: chm@openerp.com-20121108161726-ojgjep51upuutbxy
This commit is contained in:
Christophe Matthieu 2012-11-08 17:17:26 +01:00
parent 01c914e9c9
commit 911d530e09
1 changed files with 1 additions and 0 deletions

View File

@ -920,6 +920,7 @@ openerp.mail = function (session) {
var vote_element = session.web.qweb.render('mail.thread.message.vote', {'widget': this});
this.$(".oe_msg_footer:first .oe_mail_vote_count").remove();
this.$(".oe_msg_footer:first .oe_msg_vote").replaceWith(vote_element);
this.$('.oe_msg_vote').on('click', this.on_vote);
},
/**