[IMP] Minor tour refactoring
bzr revid: ddm@openerp.com-20131114155634-05ov5cy1up6ip6ly
This commit is contained in:
@@ -151,10 +151,6 @@
|
||||
if (url.search.indexOf('?tutorial=true') === 0 || bannerTour.startOfPart2()) {
|
||||
bannerTour.start();
|
||||
}
|
||||
$('.tour-backdrop').click(function (e) {
|
||||
e.stopImmediatePropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
return this._super();
|
||||
},
|
||||
});
|
||||
|
||||
@@ -23,9 +23,6 @@
|
||||
];
|
||||
return this._super();
|
||||
},
|
||||
canResume: function () {
|
||||
return this._super();
|
||||
},
|
||||
});
|
||||
|
||||
website.EditorBar.include({
|
||||
@@ -38,10 +35,6 @@
|
||||
builderTour.start();
|
||||
});
|
||||
menu.append($menuItem);
|
||||
$('.tour-backdrop').click(function (e) {
|
||||
e.stopImmediatePropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
return this._super();
|
||||
},
|
||||
});
|
||||
|
||||
@@ -98,4 +98,14 @@
|
||||
},
|
||||
});
|
||||
|
||||
website.EditorBar.include({
|
||||
start: function () {
|
||||
$('.tour-backdrop').click(function (e) {
|
||||
e.stopImmediatePropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
return this._super();
|
||||
},
|
||||
});
|
||||
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user