[FIX] Map tooltip on field's label if any

bzr revid: fme@openerp.com-20120326190522-r8fo82uqxdvin015
This commit is contained in:
Fabien Meghazi
2012-03-26 21:05:22 +02:00
parent 70d32a7942
commit d5fdbbbca4
+1 -1
View File
@@ -1553,7 +1553,7 @@ openerp.web.form.AbstractField = openerp.web.form.Widget.extend(/** @lends opene
this.$element.find('.oe_field_translate').click(this.on_translate);
}
if (this.node.attrs.nolabel && openerp.connection.debug) {
this.do_attach_tooltip(this, this.$element);
this.do_attach_tooltip(this, this.$label || this.$element);
}
},
set_value: function(value) {