Skip to content

Commit

Permalink
Fixes dropzone#599
Browse files Browse the repository at this point in the history
Recursively call .readEntries to upload > 100 files in a folder.
  • Loading branch information
kevinkrouse committed May 29, 2015
1 parent 7ca4dc4 commit 0617d18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dropzone.coffee
Expand Up @@ -890,6 +890,8 @@ class Dropzone extends Emitter
@addFile file
else if entry.isDirectory
@_addFilesFromDirectory entry, "#{path}/#{entry.name}"
if entries.length
dirReader.readEntries entriesReader, (error) -> console?.log? error
return

dirReader.readEntries entriesReader, (error) -> console?.log? error
Expand Down

0 comments on commit 0617d18

Please sign in to comment.