FIX: The whole page was a drag-n-drop target even when there were
multiple file upload components.
This commit is contained in:
parent
de415b804c
commit
5de43930e9
|
@ -21,6 +21,7 @@ export default Em.Mixin.create({
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
fileInput: $upload,
|
fileInput: $upload,
|
||||||
formData: { image_type: this.get('type') },
|
formData: { image_type: this.get('type') },
|
||||||
|
dropZone: this.$(),
|
||||||
pasteZone: this.$()
|
pasteZone: this.$()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue