[FIX] fix typo
bzr revid: benoit.guillot@akretion.com.br-20120711090027-iq2cmu2tae7e62m7
This commit is contained in:
parent
65cde7728e
commit
5b280dded9
|
@ -540,12 +540,11 @@ openerp.mail = function(session) {
|
|||
this._super.apply(this, arguments);
|
||||
var self = this;
|
||||
this.reinit();
|
||||
if (! this.view.datarecord.id) { this.$element.find('.oe_mail_thread').hide(); return; }
|
||||
// if (! this.view.datarecord.id ||
|
||||
// instance.web.BufferedDataSet.virtual_id_regex.test(this.view.datarecord.id)) {
|
||||
// this.$element.find('.oe_mail_thread').hide();
|
||||
// return;
|
||||
// }
|
||||
if (! this.view.datarecord.id ||
|
||||
session.web.BufferedDataSet.virtual_id_regex.test(this.view.datarecord.id)) {
|
||||
this.$element.find('.oe_mail_thread').hide();
|
||||
return;
|
||||
}
|
||||
// fetch followers
|
||||
var fetch_sub_done = this.fetch_subscribers();
|
||||
// create and render Thread widget
|
||||
|
|
Loading…
Reference in New Issue