diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js index 0632eab3cc9..41c12f7a592 100644 --- a/addons/website/static/src/js/website.tour.banner.js +++ b/addons/website/static/src/js/website.tour.banner.js @@ -54,7 +54,7 @@ title: "Drag & Drop a Banner", content: "Drag the Banner block and drop it in your page.", triggers: function () { - self.onSnippetDraggedAdvance('carousel'); + self.onSnippetDraggedAdvance(); }, }, { @@ -98,7 +98,7 @@ title: "Drag & Drop a Block", content: "Drag the '3 Columns' block and drop it below the banner.", triggers: function () { - self.onSnippetDraggedAdvance('three-columns'); + self.onSnippetDraggedAdvance(); }, }, { diff --git a/addons/website/static/src/js/website.tour.js b/addons/website/static/src/js/website.tour.js index d8d27506a59..3d46e51c28d 100644 --- a/addons/website/static/src/js/website.tour.js +++ b/addons/website/static/src/js/website.tour.js @@ -129,7 +129,7 @@ } $(document.body).one('mouseup', advance); } - $('#website-top-navbar [data-snippet-id='+snippetId+'].ui-draggable').one('mousedown', beginDrag); + $('#website-top-navbar [data-snippet-id].ui-draggable').one('mousedown', beginDrag); }, }); diff --git a/addons/website_blog/static/src/js/website.tour.blog.js b/addons/website_blog/static/src/js/website.tour.blog.js index 59bb70a1872..3768d7d013a 100644 --- a/addons/website_blog/static/src/js/website.tour.blog.js +++ b/addons/website_blog/static/src/js/website.tour.blog.js @@ -101,7 +101,7 @@ title: "Drag & Drop a Block", content: "Drag the 'Image-Text' block and drop it in your page.", triggers: function () { - self.onSnippetDraggedAdvance('image-text'); + self.onSnippetDraggedAdvance(); }, }, { @@ -123,7 +123,7 @@ title: "Drag & Drop a block", content: "Drag the 'Text Block' block and drop it below the image block.", triggers: function () { - self.onSnippetDraggedAdvance('text-block'); + self.onSnippetDraggedAdvance(); }, }, { diff --git a/addons/website_event/static/src/js/website.tour.event.js b/addons/website_event/static/src/js/website.tour.event.js index 73152fa4b66..82728bf2ec9 100644 --- a/addons/website_event/static/src/js/website.tour.event.js +++ b/addons/website_event/static/src/js/website.tour.event.js @@ -84,7 +84,7 @@ title: "Drag & Drop a block", content: "Drag the 'Banner' block and drop it in your page.", triggers: function () { - self.onSnippetDraggedAdvance('carousel'); + self.onSnippetDraggedAdvance(); }, }, { @@ -106,7 +106,7 @@ title: "Drag & Drop a block", content: "Drag the 'Text Block' block below the banner.", triggers: function () { - self.onSnippetDraggedAdvance('text-block'); + self.onSnippetDraggedAdvance(); }, onHide: function () { window.scrollTo(0, 0); @@ -131,7 +131,7 @@ title: "Drag & Drop a block", content: "Drag the 'Three Columns' block at the bottom.", triggers: function () { - self.onSnippetDraggedAdvance('three-columns'); + self.onSnippetDraggedAdvance(); }, onHide: function () { window.scrollTo(0, 0); diff --git a/addons/website_sale/static/src/js/website.tour.shop.js b/addons/website_sale/static/src/js/website.tour.shop.js index ad65f34ce9c..a389b06f9ff 100644 --- a/addons/website_sale/static/src/js/website.tour.shop.js +++ b/addons/website_sale/static/src/js/website.tour.shop.js @@ -123,7 +123,7 @@ title: "Drag & Drop a block", content: "Drag the 'Big Picture' block and drop it in your page.", triggers: function () { - self.onSnippetDraggedAdvance('big-picture'); + self.onSnippetDraggedAdvance(); }, }, {