From 3dcf698e84369fed8a1ff509a2ed2c60618c9d1a Mon Sep 17 00:00:00 2001 From: oweissbarth Date: Sun, 14 Sep 2014 17:25:02 +0200 Subject: Fix #25 : for...of is not implemented in Chrome UPLOAD DOES NOT WORK --- www/static/js/dropzone.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/static/js/dropzone.js b/www/static/js/dropzone.js index 8a98a54..4b01f3b 100644 --- a/www/static/js/dropzone.js +++ b/www/static/js/dropzone.js @@ -19,10 +19,11 @@ var vfs_upload_queue = []; } function addToUploadQueue(files){ - for(file of files){ + for(i= 0; i v21. alert("file is a directory. Dropping of directories is only implemented in chrome > v21."); -- cgit v1.2.3