[FIX] Banner tour redirects to homepage
bzr revid: ddm@openerp.com-20131115102434-i8vq7xgn6lbpz34f
This commit is contained in:
parent
f449371223
commit
d8f8974f51
|
@ -143,6 +143,9 @@
|
|||
var bannerTour = new website.EditorBannerTour(this);
|
||||
var $menuItem = $($.parseHTML('<li><a href="#">'+bannerTour.name+'</a></li>'));
|
||||
$menuItem.click(function () {
|
||||
if (url.pathname !== '/' && url.pathname !== '/page/website.homepage') {
|
||||
window.location.replace('/page/website.homepage?banner-tutorial=true');
|
||||
}
|
||||
bannerTour.reset();
|
||||
bannerTour.start();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue