소스 검색

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


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.