[FIX] page creation broken because what is grep

bzr revid: xmo@openerp.com-20140207145149-fem1wnr0t10rcgsn
This commit is contained in:
Xavier Morel
2014-02-07 15:51:49 +01:00
parent b13aae9f91
commit 6900662b54
@@ -1082,7 +1082,7 @@
} else {
// Create the page, get the URL back
done = $.get(_.str.sprintf(
'/pagenew/%s?noredirect=1', encodeURI(data.id)))
'/website/add/%s?noredirect=1', encodeURI(data.id)))
.then(function (response) {
self.make_link(response, false, data.id);
});