Forráskód Böngészése

Fix #120: Correct multiple iterations of upload for async batch uploads

Kartik Visweswaran 10 éve
szülő
commit
7fbdd36654
3 módosított fájl, 3 hozzáadás és 2 törlés
  1. 2 1
      CHANGE.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 2 - 1
CHANGE.md

@@ -1,6 +1,6 @@
 version 4.1.5
 =============
-**Date:** 07-Jan-2015
+**Date:** 09-Jan-2015
 
 1. (bug #100, #101): Set right params for error thrown during reading of files.
 2. (bug #104): Fix formdata not defined.
@@ -13,6 +13,7 @@ version 4.1.5
 9. (enh #115): Autosize file caption responsively on window resize.
 10. (enh #116): Hide remove and upload buttons until unless file(s) are selected.
 11. (enh #119): Enhance caption to include ellipsis for long file names
+12. (bug #120): Correct multiple iterations of upload for async batch uploads.
 
 version 4.1.4
 =============

+ 1 - 1
js/fileinput.js

@@ -400,7 +400,7 @@
                     self.raise('filebatchpreupload', [outData]);
                     for (i = 0; i < len; i++) {
                         if (self.filestack[i] !== undefined) {
-                            self.upload(i, self.getFileStack(), true);
+                            self.upload(i, self.filestack, true);
                         }
                     }
                     setTimeout(function() {

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
js/fileinput.min.js


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott