diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-04-20 12:15:39 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-20 13:12:50 +0200 |
| commit | 51beb6a0adbdfbf7da44e94cb1e2b5045d09d84f (patch) | |
| tree | 3269693bf4a79cf7bded7c286b6cfe0d08f55bfc /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | e61454f148583c90fca625de75fce85b5d0129c8 (diff) | |
[FIX] web: JournalDashboardGraph: empty $el at rerendering
The '_render' function of field widgets can be called several
times in the widget's life cycle (each time its value changes).
The JournalDashboardGraph appends a new 'svg' to its the $el at
each rendering, so it must empty its $el at the beginning of each
rendering.
Before this fix, several graphs were displayed in the same kanban
card in the Sales dashboard when, e.g., the user changed the color
of the card.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
