Browse Source

More robust search for chatter

pull/279/head
Peter Hahn 8 years ago
parent
commit
dbded7695f
  1. 2
      web_widget_mail_send_odoo/static/src/js/web_widget_mail_send_odoo.js

2
web_widget_mail_send_odoo/static/src/js/web_widget_mail_send_odoo.js

@ -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()
}
}

Loading…
Cancel
Save