diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-08-29 10:44:48 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-08-29 12:22:15 +0000 |
| commit | 367813c98cff331525be8e61926d90319bf3ebc5 (patch) | |
| tree | 52ae70677d844a142a64050b7fb847a982f5020b /addons/web/static/src/js/fields/basic_fields.js | |
| parent | d73b9b0cb18c5fd7714ac9a4d10730ec975f799d (diff) | |
[FIX] web_editor: implement better name attribution for snippets
When a snippet is selected, its options are shown in a section named
after the snippet. The name is guessed from the block classes if it
matches those of a snippet or is simply retrieved from the data-name
attribute. The problem is that that data-name attribute was not written
on the DOM but as jQuery data in some case which make them disappear
under some circonstances (like cloning a whole snippet thanks to the
keyboard, etc).
closes odoo/odoo#36217
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
