[FIX] typo in mail.js

bzr revid: nicolas.vanhoren@openerp.com-20120710145023-uqh8h8p2dbbfj6h9
This commit is contained in:
niv-openerp 2012-07-10 16:50:23 +02:00
parent d572f1b271
commit ece36066ce
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ openerp.mail = function(session) {
var self = this;
this.reinit();
if (! this.view.datarecord.id ||
instance.web.BufferedDataSet.virtual_id_regex.test(this.view.datarecord.id)) {
session.web.BufferedDataSet.virtual_id_regex.test(this.view.datarecord.id)) {
this.$element.find('.oe_mail_thread').hide();
return;
}