[IMP] wev_form: radio style width

bzr revid: chm@openerp.com-20130304082254-wyv571d2c7y9y9gj
This commit is contained in:
Christophe Matthieu
2013-03-04 09:22:54 +01:00
parent c4f70b450e
commit e4b805fd7b
+1 -1
View File
@@ -2810,7 +2810,7 @@ instance.web.form.FieldRadio = instance.web.form.AbstractField.extend(instance.w
return $input;
},
_render_label: function (value, width) {
$label = $('<th class="oe_radio_label" ' + (width ? 'width="' + width + '%"' : '') + '>' + value[1] + '</th>');
$label = $('<th class="oe_radio_label" ' + (width ? 'style="width:' + width + '%"' : '') + '>' + value[1] + '</th>');
this._action_click($label, value);
return $label;
},