-
- Downloads
[FIX] web_editor, website: fix removal of last item inside active slides
A bug currently makes the carousel snippet collapse/disappear when its
active contents are removed. This happens because after the removal,
the carousel no longer has an active item.
The solution that was chosen was to not allow the removal of slides
unless using the dedicated option which is there for that. This solution
has to advantage to also allow users to create empty slides (using a
background image for example) by simply removing the columns inside.
task-2506165
closes odoo/odoo#77033
Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
Showing
- addons/web_editor/static/src/js/editor/snippets.editor.js 2 additions, 1 deletionaddons/web_editor/static/src/js/editor/snippets.editor.js
- addons/website/static/tests/tours/carousel_content_removal.js 32 additions, 0 deletions...ns/website/static/tests/tours/carousel_content_removal.js
- addons/website/tests/test_ui.py 3 additions, 0 deletionsaddons/website/tests/test_ui.py
- addons/website/views/website_templates.xml 1 addition, 0 deletionsaddons/website/views/website_templates.xml
Loading
Please register or sign in to comment