diff options
| author | Thanh Dodeur <tso@odoo.com> | 2020-03-06 11:10:13 +0000 |
|---|---|---|
| committer | Thanh Dodeur <tso@odoo.com> | 2020-03-12 14:24:38 +0000 |
| commit | 14c0550b292bb6ed5ed63d5fd94319904c82e7db (patch) | |
| tree | e3dc34b220a18d714e4b73ca5f255ca877f7abd3 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | ec4f84604778211758c3bec22184bf3bf2515ba1 (diff) | |
[FIX] web_editor: fixes the rgb/rgba color selection
Before this commit, `selectStyle` could incorrectly split the
widgetValue (as described below) which resulted in invalid CSS.
widgetValue: `"rgba(55, 12, 99, 0.7) 55px"`
result: `["rgba(55,", "12,", "99,", "0.7)", "55px"]`
expected: `["rgba(55, 12, 99, 0.7)", "55px"]`
fixed: `["rgba(55,12,99,0.7)", "55px"]`
This commit fixes the issue.
closes odoo/odoo#47515
X-original-commit: 37e6b87341e58769ec2c1d080986e84286d84978
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
