Merge with latest.

bzr revid: tta@openerp.com-20121107115008-rkt9fpy2r6lgirkk
This commit is contained in:
Tejas Tank
2012-11-07 17:20:08 +05:30
-4
View File
@@ -4862,10 +4862,6 @@ instance.web.form.FieldBinaryImage = instance.web.form.FieldBinary.extend({
instance.webclient.notification.warn(_t("Image"), _t("Could not display the selected image."));
});
},
on_file_change: function() {
this.render_value();
this._super.apply(this, arguments);
},
on_file_uploaded_and_valid: function(size, name, content_type, file_base64) {
this.internal_set_value(file_base64);
this.binary_value = true;