-
- Downloads
[FIX] website_slides: close fullscreen mode when opening web editor
The web editor does not work well with the e-learning fullscreen view. It actually completely closes the fullscreen view and opens the edition on a blank page. To avoid this, we intercept the click on the 'edit' button and redirect to the non-fullscreen view of this slide with the editor enabled, whose layout is more suited to edit in-place anyway. A small testing tour was added to ensure this behavior is kept. Task-2507179 closes odoo/odoo#70606 X-original-commit: dcb6a3ce Signed-off-by:Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by:
awa-odoo <awa-odoo@users.noreply.github.com>
Showing
- addons/website_slides/static/src/js/slides_course_fullscreen_player.js 22 additions, 1 deletion...e_slides/static/src/js/slides_course_fullscreen_player.js
- addons/website_slides/static/src/tests/tours/slides_full_screen_web_editor.js 39 additions, 0 deletions...s/static/src/tests/tours/slides_full_screen_web_editor.js
- addons/website_slides/tests/test_ui_wslides.py 14 additions, 0 deletionsaddons/website_slides/tests/test_ui_wslides.py
- addons/website_slides/views/assets.xml 1 addition, 0 deletionsaddons/website_slides/views/assets.xml
Please register or sign in to comment