Update the chatter widget after closing the composition wizard

pull/279/head
Peter Hahn 2016-01-27 16:08:06 +01:00
parent 56c8280b80
commit 390f078636
1 changed files with 8 additions and 2 deletions

View File

@ -51,8 +51,14 @@ instance.web.form.FieldEmailIntern = instance.web.form.FieldChar.extend({
default_res_id: fm.datarecord.id,
},
on_close: function(){
/* Todo: refresh the chatter widget here
*/
// refresh the chatter widget here
$.each(self.view.getChildren(),
function(index, value){
if(value.widget=='mail_thread'){
value.root.thread.message_fetch()
}
}
);
},
}
);