mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
More robust search for chatter
This commit is contained in:
@@ -53,7 +53,7 @@ openerp.web_widget_mail_send_odoo = function(instance) {
|
||||
// refresh the chatter widget here
|
||||
$.each(self.view.getChildren(),
|
||||
function(index, value){
|
||||
if(value.widget=='mail_thread'){
|
||||
if(value.root && value.root.thread && value.root.thread.message_fetch){
|
||||
value.root.thread.message_fetch()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user