From 0d8167b7090b91733bbc117a98263c321772a315 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 1 Jun 2011 17:40:38 +0530 Subject: [PATCH] dragging / dropping multiple files works --- edgware/templates/upload_files.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/edgware/templates/upload_files.html b/edgware/templates/upload_files.html index 041450b..e227e6a 100644 --- a/edgware/templates/upload_files.html +++ b/edgware/templates/upload_files.html @@ -50,8 +50,10 @@ $(function() { e.preventDefault(); e.stopPropagation(); var files = e.dataTransfer.files; - var fil = files[0]; - edgeQueue.addFile(fil); + for (var i=0; i