summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-03-08 13:44:03 +0100
committerRomain Derie <rde@odoo.com>2018-03-08 16:25:50 +0100
commit247f7db08829919d25b5adaa3645b6341ca70ab0 (patch)
tree5688a8f5af0619c8cc7665c04b51f0e8338bae04 /addons/web/static/src/js/views/basic
parent0bde7aa106b74e793bec69fe7f388cc1d4a5deca (diff)
[FIX] website: use absolute href location after page url change
Before this commit: When editing a page URL through page properties it would redirect to that new url afterward. If the url was not starting with '/' and had multiple level before and after edition (eg: page/action to page/realaction) it would then redirect to a wrong relative URL. Now, we ensure that we redirect to the correct URL: the one slugified and cleaned in the backend. Step to reproduce: - Create a page '/page/action' - Go to that page and open Page Properties - Edit the URL to 'page/someaction' - You will be redirected to the incorrect relative URL /page/page/someaction
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions