diff options
| author | chm@openerp.com <> | 2014-03-21 12:18:15 +0100 |
|---|---|---|
| committer | chm@openerp.com <> | 2014-03-21 12:18:15 +0100 |
| commit | 254b3a29fa80ffcaeec2da60a2a2b0abac8da925 (patch) | |
| tree | 1dc5da85c310001f6985d48029147fae29f71242 /addons/website/static/src | |
| parent | 58b6aeb01d489922f8311e6a390805d9cb1c877f (diff) | |
[IMP] website tour: auto set backdrop if no selector element
bzr revid: chm@openerp.com-20140321111815-t0312xxl7l83w9rx
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/website.tour.banner.js | 2 | ||||
| -rw-r--r-- | addons/website/static/src/js/website.tour.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js index a8abbcf59e2..443405e2401 100644 --- a/addons/website/static/src/js/website.tour.banner.js +++ b/addons/website/static/src/js/website.tour.banner.js @@ -13,7 +13,6 @@ title: _t("Welcome to your website!"), content: _t("This tutorial will guide you to build your home page. We will start by adding a banner."), popover: { next: _t("Start Tutorial"), end: _t("Skip It") }, - backdrop: true, }, { element: 'button[data-action=edit]', @@ -78,7 +77,6 @@ title: _t("Good Job!"), content: _t("Well done, you created your homepage."), popover: { next: _t("Continue") }, - backdrop: true, }, { element: 'a[data-action=show-mobile-preview]', diff --git a/addons/website/static/src/js/website.tour.js b/addons/website/static/src/js/website.tour.js index 3bfd4e06da0..ce20bf69718 100644 --- a/addons/website/static/src/js/website.tour.js +++ b/addons/website/static/src/js/website.tour.js @@ -137,6 +137,7 @@ T.registerSteps = function (tour) { if (!step.element) { step.element = "body"; step.orphan = true; + step.backdrop = true; } } if (tour.steps[index-1] && |
