Files
odoo_source/addons
Arthur Detroux (ard) dfd5eea60b [FIX] web_editor: fix picking a shape when sibling has the last one
Commit [1] introduced the shape system. This system was able to chain
shapes depending on the shape of the previous sibling element.

Unfortunately, if the shape selected on the sibling was the last shape
available, clicking on the toggle shape button would result in nothing
happening.

This commit fixes that by defaulting to the first shape if no possible
shapes are given by the sibling.

[1]: https://github.com/odoo/odoo/commit/b84e0af742c51b88b4c108ebec2d0c7fff4b7483

opw-3082292

closes odoo/odoo#108017

X-original-commit: 9bdd8faea9f0126305856a40b3215589e6b3e610
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2022-12-15 10:31:20 +01:00
..
2022-10-19 16:09:55 +02:00
2022-12-07 18:29:04 +01:00
2022-12-13 13:51:29 +01:00
2022-11-04 09:52:54 +01:00
2022-12-07 18:29:39 +01:00
2022-12-15 09:34:52 +01:00
2022-12-02 16:41:50 +01:00
…
2022-10-06 14:56:52 +02:00
2022-12-02 16:41:50 +01:00