Skip to content

Commit 6c832bb

Browse files
committed
Added: "enable ie9 to transport complex form data" (#259)
1 parent 87776d8 commit 6c832bb

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

angular-file-upload.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
angular-file-upload v1.1.4
2+
angular-file-upload v1.1.5
33
https://github.com/nervgh/angular-file-upload
44
*/
55
(function(angular, factory) {
@@ -528,7 +528,9 @@ module
528528

529529
angular.forEach(item.formData, function(obj) {
530530
angular.forEach(obj, function(value, key) {
531-
form.append(angular.element('<input type="hidden" name="' + key + '" value="' + value + '" />'));
531+
var element = angular.element('<input type="hidden" name="' + key + '" />');
532+
element.val(value);
533+
form.append(element);
532534
});
533535
});
534536

angular-file-upload.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.

angular-file-upload.min.map

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

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-file-upload",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"main": "angular-file-upload.js",
55
"homepage": "https://github.com/nervgh/angular-file-upload",
66
"ignore": ["examples"],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-file-upload",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"homepage": "https://github.com/nervgh/angular-file-upload",
55
"description": "Angular File Upload is a module for the AngularJS framework",
66
"author": {

0 commit comments

Comments
 (0)