diff options
| author | Benjamin Vray <bvr@odoo.com> | 2021-01-14 15:51:52 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2021-01-21 14:32:39 +0000 |
| commit | b259b8069f74088bd8add50ddab76c1a7630ac8f (patch) | |
| tree | 3a2e7a9ac91c29da8eb879689b310d851dcfead2 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 5db67fb2931517ae94fe0396ef80e9ad997e59cd (diff) | |
[FIX] website, web_editor: fix drop zones when dragging a snippet
Before this commit:
-when moving a snippet using the drag and drop button, two drop zones
instead of one was added at the initial location of the dragged
snippet.
-when moving a snippet using the drag and drop button, no drop zone
was added at the initial location of the dragged snippet if the snippet
was alone in its parent. For example, the left jumbotron in the banner
snippet.
-the drop zones handled by the "children rules" were never vertical
when it was necessary.
This commit also refactors the code to avoid some duplicated lines.
task-2312878
closes odoo/odoo#64838
X-original-commit: e637056b3b1f4129342e5c79a4d761c7aaf56a40
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
