diff options
| author | ddm <ddm@openerp.com> | 2013-12-03 15:25:35 +0100 |
|---|---|---|
| committer | ddm <ddm@openerp.com> | 2013-12-03 15:25:35 +0100 |
| commit | c86e61f8d9dcf5101ac5be4b22da2fbf5bc34185 (patch) | |
| tree | d8d2922eb8396227c7b51f4f9c10484df5512680 /addons | |
| parent | 0e52fe93499593ebfbb992c7ce930fbad9671944 (diff) | |
[FIX] Revert bad code
bzr revid: ddm@openerp.com-20131203142535-w026w2fnfxd15aeb
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website/static/src/js/website.tour.banner.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js index c3b3936b8d0..75838ada953 100644 --- a/addons/website/static/src/js/website.tour.banner.js +++ b/addons/website/static/src/js/website.tour.banner.js @@ -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); }, }, { |
