[IMP] Tour: advance on any snippet drop

bzr revid: ddm@openerp.com-20131203094704-h995gaoo7onhlqpv
This commit is contained in:
ddm 2013-12-03 10:47:04 +01:00
parent f2156614cb
commit 63f63ef470
5 changed files with 9 additions and 9 deletions

View File

@ -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 <em>'3 Columns'</em> block and drop it below the banner.",
triggers: function () {
self.onSnippetDraggedAdvance('three-columns');
self.onSnippetDraggedAdvance();
},
},
{

View File

@ -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);
},
});

View File

@ -101,7 +101,7 @@
title: "Drag & Drop a Block",
content: "Drag the <em>'Image-Text'</em> 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 <em>'Text Block'</em> block and drop it below the image block.",
triggers: function () {
self.onSnippetDraggedAdvance('text-block');
self.onSnippetDraggedAdvance();
},
},
{

View File

@ -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);

View File

@ -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();
},
},
{