[FIX] snippets: use the new API to define dropzone

This commit is contained in:
Christophe Matthieu
2014-09-19 12:13:32 +02:00
parent 831a1bdac3
commit 6048e883e8
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
<xpath expr="//div[@id='snippet_options']" position="inside">
<div data-js='mailing_list_subscribe'
data-selector=".js_subscribe"
data-selector-siblings="p, h1, h2, h3, blockquote, .well, .panel">
data-drop-near="p, h1, h2, h3, blockquote, .well, .panel">
<li data-choose_mailing_list=""><a>Change Newsletter</a></li>
</div>
</xpath>
+2 -2
View File
@@ -391,8 +391,8 @@
<xpath expr="//div[@id='snippet_options']" position="inside">
<div data-js='country_events'
data-selector=".oe_country_events"
data-selector-siblings="p, h1, h2, h3, blockquote, .well, .panel"
data-selector-children=".content"
data-drop-near="p, h1, h2, h3, blockquote, .well, .panel"
data-drop-in=".content"
>
</div>
</xpath>
+2 -2
View File
@@ -483,8 +483,8 @@
<div id="snippet_options" class="hidden">
<div data-js='content'
data-selector="[data-oe-field='body_html'] > div, .oe_snippet_body"
data-selector-siblings="[data-oe-field='body_html'] > *"
data-selector-children="[data-oe-field='body_html']">
data-drop-near="[data-oe-field='body_html'] > div"
data-drop-in="[data-oe-field='body_html']">
</div>
</div>
+1 -1
View File
@@ -39,7 +39,7 @@
<xpath expr="//div[@id='snippet_options']" position="inside">
<div data-js='subscribe'
data-selector=".js_follow_alias"
data-selector-siblings="p, h1, h2, h3, blockquote, .well, .panel"
data-drop-near="p, h1, h2, h3, blockquote, .well, .panel"
>
<li data-choose_mailing_list=""><a>Change Discussion List</a></li>
</div>
@@ -18,7 +18,7 @@
<xpath expr="//div" position="after">
<div data-js='twitter'
data-selector=".twitter"
data-selector-children=".oe_structure, [data-oe-type=html]">
data-drop-in=".oe_structure, [data-oe-type=html]">
</div>
</xpath>
</template>