From cecd7f5e55aeb55be45f15d93f011a778c87c05f Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 6 Oct 2011 13:41:27 +0200 Subject: [PATCH] [FIX] duplicated element_class on form widgets (on container and widget), and some incorrect element_id breaking click-on-label behavior bzr revid: xmo@openerp.com-20111006114127-vc4mbflum68pjlbo --- addons/web/static/src/xml/base.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index c57a599d9b6..0e5c97c4707 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -767,7 +767,7 @@ @@ -775,7 +775,7 @@
@@ -814,7 +814,7 @@ @@ -833,8 +833,8 @@ -
- +
+ @@ -886,8 +887,8 @@ + t-att-id="widget.element_id" + t-attf-class="field_#{widget.type}"/>
@@ -902,7 +903,7 @@ t-att-border="widget.readonly ? 0 : 1" t-att-id="widget.element_id + '_field'" t-att-name="widget.name" - t-attf-class="field_#{widget.type} #{widget.element_class}" + t-attf-class="field_#{widget.type}" t-att-width="widget.node.attrs.img_width || widget.node.attrs.width" t-att-height="widget.node.attrs.img_height || widget.node.attrs.height" /> @@ -950,7 +951,7 @@ @@ -995,7 +996,6 @@