Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] website: fix height of facebook block #98106

Conversation

Guillaume-gdi
Copy link
Contributor

Since this commit, the values of the data attributes of the facebook
block are no longer read with JQuerry so that when the block has a
data-x="false" it is now interpreted in javascript as a character
string containing the word "false" and not as a boolean This caused
errors in the height of the block on the page.

Steps to reproduce the bug:

  • drop a snippet
  • drop a Facebook snippet in it
  • grab it and move it somewhere else

=> the height of the block is too high.

task-2950329

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor

robodoo commented Aug 12, 2022

@Guillaume-gdi Guillaume-gdi force-pushed the master-fix-facebook-block-height-gdi branch from f0ae725 to e8446d9 Compare August 12, 2022 14:57
@C3POdoo C3POdoo added the RD research & development, internal work label Aug 12, 2022
Since [this commit], the values of the data attributes of the facebook
block are no longer read with JQuerry so that when the block has a
`data-x="false"` it is now interpreted in javascript as a character
string containing the word "false" and not as a boolean This caused
errors in the height of the block on the page.

Steps to reproduce the bug:
- drop a snippet
- drop a Facebook snippet in it
- grab it and move it somewhere else

=> the height of the block is too high.

[this commit]: odoo@03c5526

task-2950329
@Guillaume-gdi Guillaume-gdi force-pushed the master-fix-facebook-block-height-gdi branch from e8446d9 to 131aa7f Compare August 12, 2022 15:31
@Guillaume-gdi
Copy link
Contributor Author

As the show_facepile option will be removed with this PR, this fix is useless. I close this PR.

@Guillaume-gdi Guillaume-gdi deleted the master-fix-facebook-block-height-gdi branch August 18, 2022 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants