From fb6d300a6e83fafe97002f34fbe0ec00a77248aa Mon Sep 17 00:00:00 2001 From: xO-Tx Date: Wed, 21 Dec 2022 16:53:37 +0000 Subject: [PATCH] [FIX] website: hide link popover on social share To reproduce the issue: - Website > Edit mode > Add "Share" block. - Cannot edit the link by clicking a social share item ("Edit link" on link popover doesn't work). Since 15.x, "Share" snippet items are not meant to be user links but buttons to share the page on the related social media. It is also useless to update those links after the update on [1], since they will be replaced by the right values "on social item click" (the shared URL may be updated during the page use as on product pages). The goal of this commit is to fix this behavior and prevent the link popover from appearing on items (by setting the `o_no_link_popover` class right after the snippet is dropped into a drop zone). [1]: https://github.com/odoo/odoo/commit/ddb2c06be4196c86ff6a2fd74874487d75b31c94 opw-3084367 closes odoo/odoo#108724 X-original-commit: f4a602ca4d423056fa3f760fc8a3fc222e2a5e51 Signed-off-by: Quentin Smetz (qsm) Co-authored-by: qsm-odoo --- addons/website/views/snippets/s_share.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/views/snippets/s_share.xml b/addons/website/views/snippets/s_share.xml index d8edb7b7df3..63ad736076e 100644 --- a/addons/website/views/snippets/s_share.xml +++ b/addons/website/views/snippets/s_share.xml @@ -2,7 +2,7 @@