You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FIX] website: do not redirect after editing menus from the builder
Steps to reproduce:
- Edit a page
- Click on a menu item and click on the "Edit menu" icon
- Add an item and save
=> The iframe is reloaded, but leads to a 404 instead of staying on the
same page.
This is because when passing a URL to `reloadEditor`, the given string
is then encoded with `encodeURIComponent`, which will append the string
to the current domain. We can just leave the parameter empty.
This PR follows [the refactor into html_builder].
[the refactor into html_builder]: odoo@9fe45e2b7ddb
Related to task-4367641
0 commit comments