diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-10-15 16:07:42 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-10-16 13:32:23 +0200 |
| commit | a9f11fb4772f2862ca5806baee38cf6a043b5143 (patch) | |
| tree | 88ec76587426682f04cfbd7fb36da8c583e68057 /addons/web/static/src | |
| parent | a7732bb839df194c53c80c142a4f8e83c34596b0 (diff) | |
[FIX] web_editor: properly remove all bg when choosing a bg color
The code which removed the background image of a snippet when choosing a
background color worked kinda by chance. Indeed, on the final click on
the color option, the snippet background-image was reset... to the
current background-image, which is none thanks to the color preview.
Unfortunately, in some themes, the gradient color option interferes:
the current background-image at a color choice is equal to the current
gradient, and thus, that gradient is being moved as an inline style.
The bug was introduced with https://github.com/odoo/odoo/commit/285d95e946e5a15139c961e30dbe3598e0d99f6a
(as, before, the background reset was done by simulating a click on the
'background: none' option item, which was removed).
Closes https://github.com/odoo/odoo/pull/27808
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
