[IMP] Tour: advance on any snippet drop
bzr revid: ddm@openerp.com-20131203094704-h995gaoo7onhlqpv
This commit is contained in:
parent
f2156614cb
commit
63f63ef470
|
@ -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();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -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();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue