diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-08-22 13:32:44 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-08-22 16:11:48 +0200 |
| commit | 514722d783d504151b6b835375de036eda88279f (patch) | |
| tree | c2c8ae70756b99f6fdec9e13a2c03108e397c67a /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 11143aafb8c6a236e28ad0c43dc35e32b69cae55 (diff) | |
[FIX] web_editor: properly drop a snippet on a 2 zones-location
Sometimes, two dropzones end up at the exact same location (if two
oe_structure are somewhat siblings for example). Before this commit, in
this context, if the user hovered that location with a snippet, then stopped
hovering that location, here is what occured:
- the snippet preview is dropped after the zone 1 and the zone 1 is hidden
- the snippet preview is dropped after the zone 2 and the zone 2 is hidden
- the snippet preview is removed and the zone 2 is shown again
- ... the zone 1 is forever hidden
After this commit, the snippet preview can only be dropped once.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
