temporary revert of 3331

bzr revid: nicolas.vanhoren@openerp.com-20121031150324-dxlhh3wxhob8numi
This commit is contained in:
niv-openerp 2012-10-31 16:03:24 +01:00
parent 1622caae27
commit 00fc09890b
1 changed files with 1 additions and 9 deletions

View File

@ -1979,11 +1979,6 @@ instance.web.form.FieldInterface = {
* Called when the translate button is clicked.
*/
on_translate: function() {},
/**
This method is called by the form view before reading on_change values and before saving. It tells
the field to save its value before reading it using get_value(). Must return a deferred.
*/
commit_value: function() {},
};
/**
@ -2127,10 +2122,7 @@ instance.web.form.AbstractField = instance.web.form.FormWidget.extend(instance.w
}
this.$el.attr('style', style);
this.$el.css('minHeight', height);
},
commit_value: function() {
return $.when();
},
}
});
/**