diff options
| author | Dharmraj Jhala <dja@openerp.com> | 2017-02-10 10:51:09 +0530 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-06-01 17:29:29 +0200 |
| commit | 29ac4004cfd7b197982e7412f08cb1b5178e7d89 (patch) | |
| tree | a68dff1b0115ae2ec6f050472c31dcc74147a33f /addons/web_editor/static/src/js/snippets.editor.js | |
| parent | 0485af3786a2f187b7da3ed332e073314cb09295 (diff) | |
[IMP] website: allow to detect the active menu on a slugified URL
Some default website menu were not marked as active when landing on
their associated page, e.g. clicking on "Blog" loads the blog page
but the "Blog" menu is not marked as active.
This was because of slugified URL. Indeed, for the "Blog" menu for
example, the URL "/blog/1" redirects to the "/blog/my-super-blog-1"
URL.
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.editor.js')
0 files changed, 0 insertions, 0 deletions
