Permalink
Browse files

Fixes enyo/dropzone#599

Recusively call dirReader.readEntries to upload > 100 files.
  • Loading branch information...
1 parent 7ca4dc4 commit 3d21009ef725ea15dbc3c8e77815667a2fdd8413 @kevinkrouse committed May 29, 2015
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/dropzone.coffee
View
@@ -890,6 +890,8 @@ class Dropzone extends Emitter
@addFile file
else if entry.isDirectory
@_addFilesFromDirectory entry, "#{path}/#{entry.name}"
+ if entries.length > 0
+ dirReader.readEntries entriesReader, (error) -> console?.log? error
return
dirReader.readEntries entriesReader, (error) -> console?.log? error

0 comments on commit 3d21009

Please sign in to comment.