Skip to content
Permalink
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 #39995

X-original-commit: 4b63394
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information...
qsm-odoo authored and fw-bot committed Nov 7, 2019
1 parent f4ef7cb commit 68b0f9cb6531518a31f37dd22dc419671d6f583c
Showing with 1 addition and 0 deletions.
  1. +1 −0 addons/website/static/src/js/content/snippets.animation.js
@@ -494,6 +494,7 @@ registry.slider = publicWidget.Widget.extend({

registry.parallax = Animation.extend({
selector: '.parallax',
disabledInEditableMode: false,
effects: [{
startEvents: 'scroll',
update: '_onWindowScroll',

0 comments on commit 68b0f9c

Please sign in to comment.
You can’t perform that action at this time.