Browse Source

Upgrade to release v4.1.2

Kartik Visweswaran 10 years ago
parent
commit
bddaa1e2d6
3 changed files with 2 additions and 1 deletions
  1. 1 1
      README.md
  2. 1 0
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 1 - 1
README.md

@@ -1051,7 +1051,7 @@ $('#input-id').on('filebatchuploaderror', function(event, formdata, extraData) {
 ```
 
 #### filebatchuploadcomplete
-This event is triggered after completion of the synchronous ajax batch upload (i.e. when `uploadAsync` is `false`). Additional parameters available are: 
+This event is triggered after completion of either the synchronous and asynchronous ajax batch upload. Additional parameters available are: 
 
 - `filestack`: the array of selected file objects.
 - `extraData`: the `uploadExtraData` settings for the plugin (will return an empty object if not set).

+ 1 - 0
js/fileinput.js

@@ -849,6 +849,7 @@
                 updateProgress = function() {
                     if (self.$preview.find('file-uploading').length == 0) {
                         self.unlock();
+                        self.$element.trigger('filebatchuploadcomplete', [self.filestack, self.uploadExtraData]);
                     }
                     if (!allFiles) {
                         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