diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-09-17 11:15:42 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-09-17 11:15:42 +0000 |
| commit | 57f92e2a8b8e6991031eed136681fce08cfd2a44 (patch) | |
| tree | 3ce810ff585b5f109c35624c60dd4aa2c541c4fe /addons/web_editor/static/src/xml | |
| parent | ef46378cd38d6cb361f1b867a3009f3bbe3bd7c1 (diff) | |
[FIX] website_blog, *: restore blog/post cover edition
* web_editor, website
Editing the cover images or sizes was not working anymore. When it
worked, it was thanks to the 'o_dirty' class appearing magically on a
cover part... and that magic seems to be gone.
This commit fixes the problem by adding the 'o_dirty' class on all
elements whose content is changed, not only the editable ones (this is
the case for the blog cover: it is a non editable element whose bg
image can be changed).
Note: this also fixes the edition of multiple covers (of different blogs
or posts) at the same time (this could be backported in 12.0 if needed).
closes odoo/odoo#36999
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions
