Sfoglia il codice sorgente

Upgrade to release v4.1.3

Kartik Visweswaran 10 anni fa
parent
commit
53260a5395
2 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 2 - 4
js/fileinput.js

@@ -845,12 +845,10 @@
                 },
                 updateProgress = function() {
                     if (allFiles && self.uploadPercent >= 100) {
-                        self.$element.trigger('filebatchuploadcomplete', [self.filestack, self.uploadExtraData]);
-                        return;
-                    }
-                    if (self.$preview.find('file-uploading').length == 0) {
                         self.unlock();
                         self.clearFileInput();
+                        self.$element.trigger('filebatchuploadcomplete', [self.filestack, self.uploadExtraData]);
+                        return;
                     }
                     if (!allFiles || total == 0) {
                         return;

File diff suppressed because it is too large
+ 0 - 0
js/fileinput.min.js


Some files were not shown because too many files changed in this diff