summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-02-02 17:59:19 +0100
committerqsm-odoo <qsm@odoo.com>2017-02-03 13:34:03 +0100
commit82ef921874ed40fc7b9bb58e5aa6033c46f5958e (patch)
treebd0f7e60611fdfe9b932b65eff9b9e5f42c42d4f /addons/web/static/src/xml
parent4c408d1d19cc3d8ffecf8e7694e1f38148f42f1c (diff)
[FIX] web: handle field selector closing/opening correctly
Ironically, clicking on the dropdown arrow of the field selector was the only way which was not opening the dropdown. It was indeed added as pure design element. This commit handles the opening and closing of the dropdown in a more robust way... while simplyfing the code too.
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index ef2f0f1fcb7..cff9d1e4aea 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -803,7 +803,7 @@
<div t-name="FieldSelector" class="o_field_selector">
<input type="text" t-att-value="widget.chain" t-att-readonly="!(widget.debug) and 1 or None"/>
- <div class="o_field_selector_controls">
+ <div class="o_field_selector_controls" tabindex="0">
<i class="fa fa-exclamation-triangle o_field_selector_warning hidden" title="Invalid field chain"/>
</div>
<div class="o_field_selector_popover hidden" tabindex="0">