fixed problem with mail

bzr revid: nicolas.vanhoren@openerp.com-20121012110943-b1fhnutsokyazh22
This commit is contained in:
niv-openerp 2012-10-12 13:09:43 +02:00
parent fc94df2af5
commit c82642a2df
1 changed files with 1 additions and 3 deletions

View File

@ -1017,9 +1017,7 @@ openerp.mail = function(session) {
this.$el.toggle(this.view.get("actual_mode") !== "create");
},
set_value: function() {
var self = this;
this._super.apply(this, arguments);
render_value: function() {
if (! this.view.datarecord.id || session.web.BufferedDataSet.virtual_id_regex.test(this.view.datarecord.id)) {
this.$('oe_mail_thread').hide();
return;