summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2011-09-08 17:45:51 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2011-09-08 17:45:51 +0200
commitc2ad26f34ce4bbf3338db0ef7e2355058a3ae1e9 (patch)
tree79071624c009e94885e1f32af4434d3d2319d2b3 /addons/web/static/src/xml
parent38df96f12482bef061a73bd647a58fce7ddbe2e5 (diff)
[imp] now status widget correctly highlights the selected item
bzr revid: nicolas.vanhoren@openerp.com-20110908154551-oti347kv6f7h0q2y
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 02c013d954a..3719d4744ef 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1384,7 +1384,7 @@
<ul class="oe-arrow-list">
<t t-set="size" t-value="widget.field.selection.length"/>
<t t-foreach="_.range(size)" t-as="i">
- <li>
+ <li t-att-class="i === widget.selected_index ? 'oe-arrow-list-selected' : ''">
<span class="oe-arrow-list-before" t-if="i &gt; 0"></span><span><t t-esc="widget.field.selection[i][1]"/></span><span class="oe-arrow-list-after" t-if="i &lt; size - 1"></span>
</li>
</t>