[FIX] mail.js: fixed a wrong var name.

bzr revid: tde@openerp.com-20120822110057-1dqo701k2lmpmoxo
This commit is contained in:
Thibault Delavallée 2012-08-22 13:00:57 +02:00
parent d572beb36e
commit 40949f8052
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ openerp.mail = function(session) {
set_value: function() {
this._super.apply(this, arguments);
if (! this.view.datarecord.id || session.web.BufferedDataSet.virtual_id_regex.test(this.view.datarecord.id)) {
this.$el.find('oe_mail_thread').hide();
this.$element.find('oe_mail_thread').hide();
return;
}
// update context