diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-02-25 14:37:31 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-02-25 15:23:59 +0100 |
| commit | 813b6a84ab9397508d41e15ffc4bc45f3cdb06c2 (patch) | |
| tree | a89dc935fd49848e2b5cc15503a42632f0203279 /addons/web_tip/web_tip_data.xml | |
| parent | e7ca2ca3daecedccd0e7bcc608665311ef59d7d5 (diff) | |
[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.
Diffstat (limited to 'addons/web_tip/web_tip_data.xml')
| -rw-r--r-- | addons/web_tip/web_tip_data.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_tip/web_tip_data.xml b/addons/web_tip/web_tip_data.xml index 6102d80637d..db24632ce9e 100644 --- a/addons/web_tip/web_tip_data.xml +++ b/addons/web_tip/web_tip_data.xml @@ -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> |
