summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-09-02 10:02:19 +0200
committerNicolas Martinelli <nim@odoo.com>2016-09-02 10:27:41 +0200
commit2559b2cf4fc8312bda4f2ca68951ae3103b1d049 (patch)
tree48c02bfae46f7b0c24089a43dc0022895f21cbe9 /addons/web/controllers/main.py
parent7b93e1dc7b4a370c312b64afda7a6045bdb81f38 (diff)
[FIX] web: statusbar click
When the statusbar is clicked, a `debounce` function prevents a doucle-click, and therefore making several `write` calls. On some status bars, clicking doesn't work anymore. The reason is because, in some mysterious cases, 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/controllers/main.py')
0 files changed, 0 insertions, 0 deletions