[MERGE] forward port of branch saas-3 up to c8df9fc

This commit is contained in:
Denis Ledoux 2014-11-06 16:30:33 +01:00
commit 2da7b11c36
1 changed files with 1 additions and 3 deletions

View File

@ -5779,9 +5779,7 @@ instance.web.form.FieldMany2ManyBinaryMultiFiles = instance.web.form.AbstractFie
this.fileupload_id = _.uniqueId('oe_fileupload_temp'); this.fileupload_id = _.uniqueId('oe_fileupload_temp');
$(window).on(this.fileupload_id, _.bind(this.on_file_loaded, this)); $(window).on(this.fileupload_id, _.bind(this.on_file_loaded, this));
}, },
start: function() { initialize_content: function() {
this._super();
instance.web.form.ReinitializeFieldMixin.start.call(this);
this.$el.on('change', 'input.oe_form_binary_file', this.on_file_change ); this.$el.on('change', 'input.oe_form_binary_file', this.on_file_change );
}, },
// WARNING: duplicated in 4 other M2M widgets // WARNING: duplicated in 4 other M2M widgets