[MERGE] forward port of branch saas-3 up to c8df9fc
This commit is contained in:
commit
2da7b11c36
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue