]> source.dussan.org Git - nextcloud-server.git/commitdiff
add link to further discussion about that folder check
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 15 Apr 2014 19:39:13 +0000 (21:39 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 15 Apr 2014 19:39:13 +0000 (21:39 +0200)
apps/files/js/file-upload.js

index 516812563ac6c600e7c8bb723d36426eff7b0af7..3879aa658888c17ed53acfaaef1cdc0601c34169 100644 (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();