[FIX] mail.js: fixed a wrong var name.
bzr revid: tde@openerp.com-20120822110057-1dqo701k2lmpmoxo
This commit is contained in:
parent
d572beb36e
commit
40949f8052
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue