[FIX] website, website_mass_mailing: disable anchor option for popup
task-2172312 closes odoo/odoo#66259 X-original-commit: 73d82d411ca62c284b3364b9a76c1001fe9e44e9 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -934,7 +934,7 @@
|
||||
<!-- Anchor Name -->
|
||||
<div data-js="anchor"
|
||||
data-selector=":not(p).oe_structure > *, :not(p)[data-oe-type=html] > *"
|
||||
data-exclude=".modal *, .oe_structure .oe_structure *, [data-oe-type=html] .oe_structure *">
|
||||
data-exclude=".modal *, .oe_structure .oe_structure *, [data-oe-type=html] .oe_structure *, .s_popup">
|
||||
<we-button class="fa fa-fw fa-link o_we_link"
|
||||
title="Create a link to target this section"
|
||||
data-no-preview="true"/>
|
||||
|
||||
@@ -93,6 +93,9 @@
|
||||
<we-button data-select_mailing_list="" data-no-preview="true">Change Newsletter</we-button>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@data-js='anchor']" position="attributes">
|
||||
<attribute name="data-exclude" add=".o_newsletter_popup" separator=","/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Extend default mass_mailing snippets with website feature -->
|
||||
|
||||
Reference in New Issue
Block a user