summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorSamuel Degueldre <sad@odoo.com>2020-09-18 11:35:49 +0000
committerSamuel Degueldre <sad@odoo.com>2020-09-18 11:35:49 +0000
commitcc8589f74d69816357cb614933358000166fa161 (patch)
treedeaf1dcb5e677d4efe9360923eb885b3a66ebb43 /addons/website/static/src/xml/website.editor.xml
parentcc4e7f401164acd053864a53372a96873d5d1b77 (diff)
[FIX] web_editor: fix color comparison and store normalized colors
Previously, shape colors were stored in non-normalized form (eg, would use the color's name if it was a palette color), this caused some issues if you chose a palette color for a shape, then changed the palette: the wrong color would appear in the color picker because it would look use the color of the current palette instead of the color that was actually chosen. This commit also normalizes the case of color strings before comparing them, as this was causing some colors to be considered non-default because of different capitalization. closes odoo/odoo#58026 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
0 files changed, 0 insertions, 0 deletions