summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-08-01 14:07:19 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2017-08-03 09:36:01 +0200
commitac3bfee8f387a43dea00dc9054fc744152922261 (patch)
tree80dc04559387f825c1702dca489100279084a835 /addons/web/static/src/js/views/basic/basic_controller.js
parent7ac19968f7305116f31ba71eb68fa9efef8783a2 (diff)
[FIX] website: fix html editor view to be edited
Before this commit, the view selected to be edited by the html editor was the wrong one This was caused by the simplification brought about by commit a2ae219d4ee283b7e7af84a3e7fa3bb8e0a95f23 which transfered from python to js the decision to make a view a header for the [customize] menu (on the website In this case, the first view in the return list of python was the header, and the second the actual view Now that python just sends a list of unique views without any distinction whatsoever, the right view to pick when entering the html editor is the first one, at index 0 opw 760279 Closes #18603
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions