diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-08-16 12:39:26 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-08-16 16:52:56 +0200 |
| commit | 10f43955d81ff3e7b5ab050656b312ec19f927c5 (patch) | |
| tree | bba78a14ea795225d9880e9376dd5df5789d26b6 /addons/mail/static/src/xml/thread.xml | |
| parent | 2a2ff6eb5c746acec46ebc7fee382dfa78ec8c14 (diff) | |
[FIX] web: render JournalDashboardGraph when in DOM
The lib 'nvd3' renders graph when they are attached to the
DOM. However, widgets are rendered in fragments and
appended to the DOM when ready (to prevent flickering).
Before this commit, we used a `setTimeout(0)` and cross
fingers that the widget was attached to the DOM when the
`render` method was called.
With this commit, the render method is called when it is
attached to the DOM.
Task-ID 1868252
Closes #26410
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions
