summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/js/view_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js
index e1a6a06003b..fe9a2fed662 100644
--- a/addons/web/static/src/js/view_form.js
+++ b/addons/web/static/src/js/view_form.js
@@ -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) {