summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.ui.components.less
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-09-02 10:41:58 +0200
committerNicolas Martinelli <nim@odoo.com>2016-09-02 12:46:10 +0200
commit1bcbca4be3ab2b8270f6ad82a508e12f9b213ec5 (patch)
tree832b0f05be3809cf3e4ba539a8a36220085465f4 /addons/web_editor/static/src/less/web_editor.ui.components.less
parentcf4cda2bca3ae09e7516d50bf9a352dae21a9859 (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_editor/static/src/less/web_editor.ui.components.less')
0 files changed, 0 insertions, 0 deletions