FIX: The whole page was a drag-n-drop target even when there were

multiple file upload components.
This commit is contained in:
Robin Ward 2014-10-22 14:37:35 -04:00
parent de415b804c
commit 5de43930e9
1 changed files with 1 additions and 0 deletions

View File

@ -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.$()
}); });