diff options
| author | Géry Debongnie <ged@odoo.com> | 2015-11-09 15:38:55 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2015-11-09 16:28:06 +0100 |
| commit | fb013ce292bc0fdb4a2031de63ff56308471dfe4 (patch) | |
| tree | db012478b5646fc532a62ca0f4c6ec77ed3ac352 /addons/mail/static/src/js/thread.js | |
| parent | 9f6f5fe512efa6c3074e227b6318cad830c73003 (diff) | |
[FIX] mail: prevent race condition in client action
The issue was that the chat_manager was an async js module, so it could
be loaded quite late. Then the client action was loaded only after the
chat_manager was ready, and possibly before the action_manager read the
value in the action registry.
This commits prevent this problem from happening by turning the chat
manager into a sync module, so the chatter and the client action needs
to wait for him to be ready before doing their magic.
Diffstat (limited to 'addons/mail/static/src/js/thread.js')
0 files changed, 0 insertions, 0 deletions
