ProgerXP / FileDrop

Self-contained cross-browser pure JavaScript class for Drag & Drop and AJAX (multi) file upload.
filedropjs.org
The Unlicense
264 stars 61 forks source link

Support for Chrome folder drag-drop #7

Closed kevinkrouse closed 10 years ago

kevinkrouse commented 10 years ago

It's now possible to drag-drop and entire folder from the desktop when using Chrome.

http://codebits.glennjones.net/dragdrop/dropfolder.htm

ProgerXP commented 10 years ago

Looks very nice. I will see how soon I can add this to FileDrop.

Thank you for dropping the link here, it's appreciated.

ProgerXP commented 10 years ago

Implemented in c9856cea7f3f20d4eeaa25643d509cb2ca98d3d8. Check out updated docs and the sample.

Thanks.

kevinkrouse commented 10 years ago

Cool, the sample works great! One minor note, the sample has a link to the FileList API which should be 'http://filedropjs.org/#filelist_class' instead of 'http://filedropjs.org/#filelist'.

ProgerXP commented 10 years ago

Thanks for catching that, it was in fact bad anchor as all classes have their specific anchors. Fixed.