Browse Source

Fix #159: Ensure filestack is passed correctly with `outData` for events

Kartik Visweswaran 10 years ago
parent
commit
2ef4a13cf7
3 changed files with 3 additions and 2 deletions
  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.7
 =============
-**Date**: 02-Feb-2015
+**Date**: 04-Feb-2015
 
 1. (enh #149): Custom tags support for layoutTemplates and previewTemplates (new properties `customLayoutTags` and `customPreviewTags` included).
 2. (enh #151): New `filebatchselected` event triggered after every batch of files are selected.
@@ -14,6 +14,7 @@ version 4.1.7
     - Create and allow two different styles/css classes for progress bar
        - `progressClass`: styling for progress bar when upload is in process
        - `progressCompleteClass`: styling for progress bar when upload is complete
+9. (bug #159): Ensure filestack is passed correctly with `outData` for events.
 
 version 4.1.6
 =============

+ 1 - 1
js/fileinput.js

@@ -383,7 +383,7 @@
             var self = this;
             jqXHR = jqXHR || {};
             responseData = responseData || {};
-            filesData = filesData || self.filestack;
+            filesData = filesData || self.filestack.slice(0);
             return {
                 form: self.formdata,
                 files: filesData,

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