diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-05-28 11:51:50 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-05-28 12:20:07 +0200 |
| commit | ea0fcd52d923d4dfaf87ad1cc0ce6d3e32c16477 (patch) | |
| tree | d4cb2d2cfa7e3e969d3055fe682ce04042927449 /addons/account_lock | |
| parent | 34f567dd397a016e526c3923024ee1cf9234ca5d (diff) | |
[FIX] web_editor: properly save a t-field in a t-ignore environment
When a t-field element was in an editable t-ignore environement,
modifying it was leaving the edit mode style attached to it. This
was because of:
1) When the t-field element was changed, it was marked dirty but
also its parent editable container. Fixing this, only solves
the case where only the t-field (and not one of its neighbors)
is changed but it was worth fixing anyway.
2) Before saving an element, the potential 'o_editable' and
summernote classes were not removed of its descendant and were
thus saved.
Bug found with task-38069, merged in stable as it might occur there
too.
Diffstat (limited to 'addons/account_lock')
0 files changed, 0 insertions, 0 deletions
