summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/debug.xml
diff options
context:
space:
mode:
authorSamuel Degueldre <sad@odoo.com>2020-01-02 10:59:01 +0000
committerSamuel Degueldre <sad@odoo.com>2020-01-02 11:08:46 +0000
commit38b5c759f3ade54aaaa620f2b5ab23c11e9cc71e (patch)
treed84b63c29fe11cc1983458af7bd79d1524654673 /addons/web/static/src/xml/debug.xml
parent989a78b3fc04e7b5b79e165fda8539be5f091b8c (diff)
[FIX] website: fix cover properties not saving properly
In 2cc8316c669, the cover properties snippet option was refactored to using a single data attribute per select instead of repeating it on every button inside of it. After selecting an option, the corresponding data attribute would be set on the cover container by finding the currently active button and copying its select class attribute. However, because of an oversight, instead of finding the currently active button inside the select, the option would find any active item inside of the select, and because the select is always open when a button inside is clicked, the first active item inside of the select is its toggler. This commit fixes that by increasing the specificity of the selector that finds the active button to only find buttons, and not the select-menu toggler. closes odoo/odoo#42567 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions