summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2019-02-15 12:35:54 +0000
committerAaron Bohy <aab@odoo.com>2019-02-15 12:35:54 +0000
commit872c11dda46d4246daceb5a899122e3a58ee140f (patch)
tree8aa8e240f3535cf99544c65572cbc82f944c2c80 /addons/web/static/src/js/views/basic/basic_model.js
parent8f4c595f5bfbfe45561d0a016dfd69cadf8e251d (diff)
[FIX] web_tour: consume step on click
Before this rev., steps were consumed on 'mousedown' events. This caused an issue with the RainbowMan displayed at the end of tours (which closes itself on 'click' events outside its $el). Here is what occured when the user clicked on the last step's element: - 'mouseenter' event triggered - current step consumed, as well as the tour, and a RainbowMan is instantiated and appended to the DOM - 'click' event triggered - RainbowMan closes itself because of that 'click' event closes odoo/odoo#31148
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions