diff options
| author | Arthur Detroux (ard) <ard@odoo.com> | 2021-04-28 09:52:46 +0000 |
|---|---|---|
| committer | Arthur Detroux (ard) <ard@odoo.com> | 2021-04-29 09:03:48 +0000 |
| commit | 8c672662c80d0dfaeb06eedfc7136a68734fbdb3 (patch) | |
| tree | b88b84fa1f450edaae6098ae3de62e474fb63474 /addons/web_editor/static/src/js/editor | |
| parent | 7eead568b4c38076fbdc79d979448c2f3601fa68 (diff) | |
[FIX] website: hide cookie bar when entering edit mode
Previously :
Once a user enabled the cookie bar, it prevented him from dropping
snippets in the main area of the page because the focus was on
the cookie bar. Dropping snippets there has a confusing behavior and
might make the user think the editor is broken.
Reason :
The cookie bar has an oe_structure class and takes over the body
if it's not hidden or dismissed. The oe_structure allows to drop
snippets.
Fix :
Hiding the cookie bar when user enters edit mode to avoid dropping
snippets in it by mistake.
task-2477430
closes odoo/odoo#68938
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js/editor')
0 files changed, 0 insertions, 0 deletions
