[FIX] Shop tutorial false start
bzr revid: ddm@openerp.com-20131119153908-8n1kse1y2js7v8oj
This commit is contained in:
parent
20add62aef
commit
e17d99988b
|
@ -94,7 +94,7 @@
|
|||
isTriggerUrl: function (url) {
|
||||
url = url || new website.UrlParser(window.location.href);
|
||||
var addProductPattern = /^\/shop\/product\/[0-9]+\/\?enable_editor=1/;
|
||||
return addProductPattern.test(url.pathname+url.search) || this._super();
|
||||
return (this.productPage() && addProductPattern.test(url.pathname+url.search)) || this._super();
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue