a.stop();
if (a.originalEvent.dataTransfer.types.length) {
var b = a.originalEvent.dataTransfer.types[0];
- if ("Files" != b && "public.file-url" !=
- b && "application/x-moz-file" != b) {
+ if ("Files" != b &&
+ "public.file-url" != b &&
+ "application/x-moz-file" != b &&
+ "text/plain" != b) {
m();
return
}
}
}
a = a.originalEvent.dataTransfer.items;
- for (l = 0; l < g; l++)
- h = !1, a && (f = a[l], f.getAsEntry ? h = f.getAsEntry().isDirectory : f.webkitGetAsEntry && (h = f.webkitGetAsEntry().isDirectory)), h || (this._sid++, h = new dropupload.DropUploader(this, this._genKey(), b[l]), this._uploaders[h.id] = h);
+// for (l = 0; l < g; l++)
+// h = !1, a && (f = a[l], f.getAsEntry ? h = f.getAsEntry().isDirectory : f.webkitGetAsEntry && (h = f.webkitGetAsEntry().isDirectory)), h || (this._sid++, h = new dropupload.DropUploader(this, this._genKey(), b[l]), this._uploaders[h.id] = h);
+
+ for (l = 0; l < g; l++) {
+ this._sid++;
+ var h = new dropupload.DropUploader(this, this._genKey(), b[l]);
+ this._uploaders[h.id] = h;
+ }
this.checkFinish()
}
},