diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-10-26 17:01:26 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-11-03 16:45:27 +0100 |
| commit | 229fab5fa080a1602cd93a2d8cf3e4bd20587aed (patch) | |
| tree | 2078e9ab19281bb9bb254e09a64dd87fa098b122 /addons/web/static/src | |
| parent | 76314f0a3bdb4deb05444443826106607fe35c5d (diff) | |
[FIX] web_editor: do not delete empty .oe_structure element
If a snippet contains a .oe_structure element inside of it, it allows
the user to drop other snippets in that location. The web_editor
contains code which removes all empty parent of an element being
deleted. This is done so that, for example, when the last col of a
3-col snippet is removed, the whole snippet is removed.
However, there was an exception to this rule which was not considered,
if one of these empty parent is an .oe_structure, it should not be
removed.
Note: the only snippet which does this is the parallax snippet.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
