summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2017-03-24 15:51:22 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commitfbb0450d512e97c960de780d772486203529e6c0 (patch)
tree64bc211977059219d45c140a26aa3aad20fde4a6 /addons/web/static/src/js/views/basic/basic_model.js
parent8b2c0913133a6a0f0fcf2d30cde13bc8bd0121e1 (diff)
[ADD] web: add state_selection widget tests and documentation
This commit also adds the special_click property which is used to mark a DOM element such that clicks on it will not be intercepted by the list view. Basically, we need this on elements which rely on bootstrap events, since those need to bubble all the way up. If we catch them in the list view, to open a cell or a record, then they never get to bootstrap's level and so the widgets relying on these elements cannot work. We plan to remove it at some point, when we have more time to figure out a way for the click event to reach bootstrap from inside the list view without breaking the list view behavior itself.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions