mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Update the chatter widget after closing the composition wizard
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user