summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorKhoi Nguyen <bng@odoo.com>2017-10-24 13:51:14 +0200
committerKhoi Nguyen <bng@odoo.com>2017-10-24 14:03:12 +0200
commita0fad8ba6d7c42a627d654b00961bb3de2803ae3 (patch)
tree2ecb2fecfc90359ef7f44bc6563515d2df988654 /addons/web/static/src/js/views/basic/basic_model.js
parent2130478cda874cbe2e425e4b4bb0e61df977b656 (diff)
[FIX] web: show tooltips on status bar widgets
The 'new views' refactoring introduced the usage of the "disabled" attribute in addition to the associated bootstrap class. As a side-effect, tooltips are never rendered when the mouse is on a disabled button, since disabled elements do not fire mouse events. In particular, no tooltip is shown when hovering over a disabled button of the statusbar in debug mode. This can be observed when opening the form view of a Manufacturing Order. We fix this issue by requiring that disabled buttons in a status bar never be the target of mouse events, triggering them on their respective parent elements instead.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions