[FIX] Revert bad code

bzr revid: ddm@openerp.com-20131203142535-w026w2fnfxd15aeb
This commit is contained in:
ddm
2013-12-03 15:25:35 +01:00
parent 0e52fe9349
commit c86e61f8d9
@@ -32,11 +32,7 @@
title: "Edit this page",
content: "Every page of your website can be modified through the <i>Edit</i> button.",
triggers: function () {
function advance () {
self.moveToNextStep();
editor.off('tour:editor_bar_loaded', self, advance);
}
editor.on('tour:editor_bar_loaded', self, advance);
editor.on('tour:editor_bar_loaded', self, self.moveToNextStep);
},
},
{