summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/snippets.options.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-11-03 12:17:04 +0000
committerqsm-odoo <qsm@odoo.com>2020-11-03 12:28:53 +0000
commit5488916657f9cd4041abdcbe3fc615174df6cb49 (patch)
tree030913e53ec07b4865af058f4da587fd5b7836ac /addons/web_editor/static/src/js/editor/snippets.options.js
parent7aac3f24b4959dde9aba2cae5df3d65f781fc8e2 (diff)
[FIX] website: fix footer/header item move
Using the handle to move elements from footer/header anywhere in the page would make the main element disappear with endless content loading animation. The end of the drag and drop executes a serie of methods : _destroyEditors > cleanForSave > toggleTargetVisibility Since the "cleaning for save" is called for all snippets and the footer doesn't contain a 'o_snippet_invisible' class, the "onTargetShow" method is called... but actually hide the footer because the "onTargetShow" implementation was so that it clicks on the visibility checkboxes regardless of its current status. Part of https://github.com/odoo/odoo/pull/59624 task-2312878
Diffstat (limited to 'addons/web_editor/static/src/js/editor/snippets.options.js')
0 files changed, 0 insertions, 0 deletions