Skip to content
Snippets Groups Projects
Commit 68b0f9cb authored by qsm-odoo's avatar qsm-odoo Committed by fw-bot
Browse files

[FIX] website: restore parallax previews in edit mode


When the user changed the parallax option, it was only updated on save.
So, the user was not able to have a preview of what he chose.

Note: this commit is made in saas-12.3 but does not fully solve the
problem there... and unfortunately I don't know why. It fully solves
the problem in 13.0 though and this is more important.

closes odoo/odoo#39995

X-original-commit: 4b633949cd4fd1cae807b95d233879ac4adc01ce
Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent f4ef7cbc
No related branches found
No related tags found
No related merge requests found
......@@ -494,6 +494,7 @@ registry.slider = publicWidget.Widget.extend({
registry.parallax = Animation.extend({
selector: '.parallax',
disabledInEditableMode: false,
effects: [{
startEvents: 'scroll',
update: '_onWindowScroll',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment