[imp] removed now useless utility css class

bzr revid: nicolas.vanhoren@openerp.com-20120329100131-luwleyfhjs2fat3i
This commit is contained in:
niv-openerp 2012-03-29 12:01:31 +02:00
parent 5469b71b01
commit 9af8e7d2ac
1 changed files with 0 additions and 5 deletions

View File

@ -1566,11 +1566,6 @@ openerp.web.form.AbstractField = openerp.web.form.Widget.extend(/** @lends opene
this.do_attach_tooltip(this, this.$label || this.$element);
}
if (!this.disable_utility_classes) {
var set_disabled = function() {
this.$element.toggleClass('disabled', this.get("effective_readonly"));
};
this.on("change:effective_readonly", this, set_disabled);
_.bind(set_disabled, this)();
var set_required = function() {
this.$element.toggleClass('oe_form_required', this.get("required"));
};