summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-15 21:39:13 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-15 21:39:13 +0200
commit83e8981e246384de3b9d206a5dcf1109ce421005 (patch)
treee97562357d082d5a6a671aa26761aaeb7fe5cc30
parent07ea57465ba23dd31dae943b44f4c04ccabb5e60 (diff)
downloadnextcloud-server-83e8981e246384de3b9d206a5dcf1109ce421005.tar.gz
nextcloud-server-83e8981e246384de3b9d206a5dcf1109ce421005.zip
add link to further discussion about that folder check
-rw-r--r--apps/files/js/file-upload.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 516812563ac..3879aa65888 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -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();