-
- 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#79340 X-original-commit: 3c194faa Signed-off-by:Quentin Smetz (qsm) <qsm@odoo.com>
Showing
- addons/web_editor/static/src/js/editor/snippets.editor.js 1 addition, 0 deletionsaddons/web_editor/static/src/js/editor/snippets.editor.js
- addons/website/static/tests/tours/carousel_content_removal.js 30 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/assets.xml 1 addition, 0 deletionsaddons/website/views/assets.xml
Loading
Please register or sign in to comment