mirror of https://github.com/OCA/web.git
More robust search for chatter
parent
08bb9053ef
commit
dbded7695f
|
@ -53,7 +53,7 @@ openerp.web_widget_mail_send_odoo = function(instance) {
|
||||||
// refresh the chatter widget here
|
// refresh the chatter widget here
|
||||||
$.each(self.view.getChildren(),
|
$.each(self.view.getChildren(),
|
||||||
function(index, value){
|
function(index, value){
|
||||||
if(value.widget=='mail_thread'){
|
if(value.root && value.root.thread && value.root.thread.message_fetch){
|
||||||
value.root.thread.message_fetch()
|
value.root.thread.message_fetch()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue