1001genomes / AraGeno

A web-application for running SNPmatch
http://arageno.gmi.oeaw.ac.at
MIT License
1 stars 2 forks source link

Fix for file drag and drop. #18

Closed blthree closed 7 years ago

blthree commented 7 years ago

The file list is a child of the drop event, rather than than dropzone itself. Added one line to explicitly set genotype_file.files to the actual file list after checking that file is valid.

blthree commented 7 years ago

Fixes issues #17 and #9 . Although if you drag an invalid filetype into the box it can't be replaced without resetting the entire form

timeu commented 7 years ago

That's great! Thanks for bugfix !