summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-05-12 14:12:30 +0200
committerqsm-odoo <qsm@odoo.com>2017-05-12 14:12:30 +0200
commitf5d337680a065fb890320c19b1889d318bb9cbf5 (patch)
tree7c6dbeed92640284b861c0ba3d54c37077424d00
parentc91c3726a7c4805d757f12a031a19830cf6c161f (diff)
[FIX] website: fix missed forward-port
A forward-port ported this commit: https://github.com/odoo/odoo/commit/c12f2cd5ccc72a680ab741b4ce16d3913dd3854e#diff-473476fda8a8b38a9ee4480eb2bf2e2eR150 But ignored that a more recent one did remove the related code: https://github.com/odoo/odoo/commit/0eafeab1#diff-473476fda8a8b38a9ee4480eb2bf2e2eL173 The result was misindented breaking code.
-rw-r--r--addons/website/static/src/js/website.snippets.editor.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js
index 4fbb79dd89e..3bb1541b0bf 100644
--- a/addons/website/static/src/js/website.snippets.editor.js
+++ b/addons/website/static/src/js/website.snippets.editor.js
@@ -218,9 +218,6 @@ options.registry.carousel = options.registry.slider.extend({
// set background and prepare to clean for save
this.$target.on('slid.bs.carousel', function () {
- self.editor.styles.background_position.$target = self.editor.styles.background.$target;
- self.editor.styles.background_position.set_active();
- self.editor.styles.background.$target.trigger("snippet-option-change", [self.editor.styles.background]);
self.$target.carousel("pause");
if (!self.editor) return;