From 05ae347bdd5875aeb35d2f10f5c7fb1a1f75a460 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Mon, 4 Nov 2019 16:50:30 +0100 Subject: [IMP] website: Adapt tests to work with/without demo data --- addons/website/static/src/js/tours/banner.js | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/website/static/src') diff --git a/addons/website/static/src/js/tours/banner.js b/addons/website/static/src/js/tours/banner.js index f4ddc040c69..04311eeecaf 100644 --- a/addons/website/static/src/js/tours/banner.js +++ b/addons/website/static/src/js/tours/banner.js @@ -15,6 +15,7 @@ tour.register("banner", { position: "bottom", }, { trigger: "#snippet_structure .oe_snippet:eq(1) .oe_snippet_thumbnail", + extra_trigger: "body.editor_enable.editor_has_snippets", content: _t("Drag the Cover block and drop it in your page."), position: "bottom", run: "drag_and_drop #wrap", -- cgit v1.2.3