Skip to content

Commit e4074b6

Browse files
committed
Update to release v4.1.1
1 parent 337da5c commit e4074b6

File tree

7 files changed

+18
-10
lines changed

7 files changed

+18
-10
lines changed

CHANGE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
version 4.1.1
2+
=============
3+
**Date:** 18-Dec-2014
4+
5+
1. (bug #76): Update filestack when `showPreview` is false.
6+
2. (bug #78): Set uploadExtraData parameters to be correctly sent via POST.
7+
18
version 4.1.0
29
=============
310
**Date:** 17-Dec-2014

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ wide variety of files i.e. images, text, html, video, audio, flash, and objects.
77

88
![File Input Screenshot](https://lh3.googleusercontent.com/-3FiEmc_okc4/VBw_d2LBAJI/AAAAAAAAAL8/KbVj5X9Dus0/w596-h454-no/FileInput.jpg)
99

10-
> NOTE: The latest version of the plugin v4.1.0 has been released. Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
10+
> NOTE: The latest version of the plugin v4.1.1 has been released. Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
1111
1212
## Features
1313

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-fileinput",
3-
"version": "4.1.0",
3+
"version": "4.1.1",
44
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
55
"authors": [
66
"Kartik Visweswaran <[email protected]>"

css/fileinput.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014
33
* @package bootstrap-fileinput
4-
* @version 4.0.0
4+
* @version 4.1.1
55
*
66
* File input styling for Bootstrap 3.0
77
* Built for Yii Framework 2.0

css/fileinput.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/fileinput.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014
3-
* @version 4.1.0
3+
* @version 4.1.1
44
*
55
* File input styled for Bootstrap 3.0 that utilizes HTML5 File Input's advanced
66
* features including the FileReader API.
@@ -810,9 +810,9 @@
810810
if (self.uploadExtraData.length == 0) {
811811
return;
812812
}
813-
$.each(self.uploadExtraData, function(j, data) {
814-
if (!isEmpty(data.id) && !isEmpty(data.value)) {
815-
fd.append(data.id, data.value);
813+
$.each(self.uploadExtraData, function(key, value) {
814+
if (!isEmpty(key) && !isEmpty(value)) {
815+
fd.append(key, value);
816816
}
817817
});
818818
},
@@ -1226,6 +1226,7 @@
12261226
}
12271227
if (!self.showPreview) {
12281228
$el.trigger('fileloaded', [file, previewId, i]);
1229+
self.filestack.push(file);
12291230
setTimeout(readFile(i + 1), 100);
12301231
return;
12311232
}

js/fileinput.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)