add link to further discussion about that folder check

This commit is contained in:
Thomas Müller 2014-04-15 21:39:13 +02:00
parent 07ea57465b
commit 83e8981e24
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ OC.Upload = {
}
// in case folder drag and drop is not supported file will point to a directory
// http://stackoverflow.com/a/20448357
if (!file.type && file.size%4096 === 0 && file.size <= 102400) {
try {
reader = new FileReader();