bencolon/file-uploader — pull request #3 by rnicholus (2012-02-24 21:51:24+00:00)
Title: Fixed a drop issue.  Symptom: dropping a folder on Chrome in OS X is a no-op

This occurs because the Chrome implementation on OS X apparently populates the DataTransfer object on the drop event with an empty array for the files property when a folder is dropped. So, the _uploadFileList function does nothing. I added a check for the length of the files property, and fire off a "noFilesError" message.

Somewhat off-topic, but I'm also looking into a way to normalize the browsers responses when a folder is dropped. Not sure this will be possible since the File object is limited, but I'm checking into it just in case.