dragging / dropping multiple files works

This commit is contained in:
Sanj 2011-06-01 17:40:38 +05:30
parent 11398b3704
commit 0d8167b709

View File

@ -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<files.length; i++) {
var fil = files[i];
edgeQueue.addFile(fil);
}
}, false);
});