浏览代码

Upgrade to release v4.1.2

Kartik Visweswaran 10 年之前
父节点
当前提交
bddaa1e2d6
共有 3 个文件被更改,包括 2 次插入1 次删除
  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;

文件差异内容过多而无法显示
+ 0 - 0
js/fileinput.min.js


部分文件因为文件数量过多而无法显示