diff options
| author | Benoit Socias <bso@odoo.com> | 2020-11-23 12:55:40 +0000 |
|---|---|---|
| committer | Benoit Socias <bso@odoo.com> | 2020-12-04 15:20:19 +0000 |
| commit | 65b1b61ad53c97d07a93bf0b72e239d19fc270a5 (patch) | |
| tree | b3b2f34e07b830457d4135e6c9affef3984952e2 /addons/web_tour | |
| parent | d8e816f95e2c51071415a3d4a9171d7014bb7b1c (diff) | |
[IMP] website, web_tour: have steps to select shape or color
Before this commit the theme tours had no step during the shape or color
selection
After this commit the theme tours have an additional step during the
shape or color selection
task-2390579
https://github.com/odoo/odoo/pull/62176
https://github.com/odoo/design-themes/pull/428
Diffstat (limited to 'addons/web_tour')
| -rw-r--r-- | addons/web_tour/static/src/js/tip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_tour/static/src/js/tip.js b/addons/web_tour/static/src/js/tip.js index 9165e8983d1..afafd86d764 100644 --- a/addons/web_tour/static/src/js/tip.js +++ b/addons/web_tour/static/src/js/tip.js @@ -250,7 +250,7 @@ var Tip = Widget.extend({ } }, _get_ideal_location: function ($anchor = this.$anchor) { - var $location = $anchor; + var $location = this.info.location ? $(this.info.location) : $anchor; if ($location.is("html,body")) { return $(document.body); } |
