diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-09-02 10:41:58 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-09-02 12:46:10 +0200 |
| commit | 1bcbca4be3ab2b8270f6ad82a508e12f9b213ec5 (patch) | |
| tree | 832b0f05be3809cf3e4ba539a8a36220085465f4 /addons/web/static/src/xml/base.xml | |
| parent | cf4cda2bca3ae09e7516d50bf9a352dae21a9859 (diff) | |
[FIX] web: statusbar click
When the statusbar is clicked, a `debounce` function prevents a
doucle-click, and therefore making several `write` calls. In debug
mode, the click doesn't work anymore.
For some mysterious reason, the event is propagated to the parent. The
`currentTarget` is not the `li` element, but the parent `ul`. By
setting the `immediate` argument to `true` (execute the first function
instead of the last), this solves the issue.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
