[FIX] web_tip: tip inside button

In FF, there cannot be a clickable element inside a button tag. So the
tip on the icon in a button_box button was not able to be dismissed.

The tip selector is changed so that the highlighted element is the
button itself and not the icon it contains.
This commit is contained in:
qsm-odoo
2016-02-25 15:23:59 +01:00
parent e7ca2ca3da
commit 813b6a84ab
+2 -2
View File
@@ -43,8 +43,8 @@
<field name="description"><![CDATA[If you're done with this item, click here to archive it. It won't appear again, but you can display it with the 'Archived' filter, and reactivate it if necessary.]]></field>
<field name="model"></field>
<field name="mode">form</field>
<field name="trigger_selector">button > .fa-archive</field>
<field name="highlight_selector">button > .fa-archive</field>
<field name="trigger_selector">[name="button_box"] button > .fa-archive</field>
<field name="highlight_selector">[name="button_box"] button:has(.fa-archive)</field>
<field name="end_event">mousedown</field>
<field name="placement">bottom</field>
</record>