Skip to content
Permalink
Browse files

[FIX] website: restore Facebook snippets in edit mode

Facebook snippets' related widgets must be instantiated in edit mode.

This was broken when the feature which disables the widgets in edit mode
by default was introduced with 335a505.
  • Loading branch information...
kig-odoo authored and qsm-odoo committed Apr 24, 2019
1 parent faf63c2 commit 269ced6e439b184100fb9f8743e8fa77314ffb56
Showing with 1 addition and 0 deletions.
  1. +1 −0 addons/website/static/src/js/content/snippets.animation.js
@@ -953,6 +953,7 @@ registry.socialShare = publicWidget.Widget.extend({

registry.facebookPage = publicWidget.Widget.extend({
selector: '.o_facebook_page',
disabledInEditableMode: false,

/**
* @override

0 comments on commit 269ced6

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