Skip to content

Commit

Permalink
Fixed: FileUploader#_iframeTransport() add formData
Browse files Browse the repository at this point in the history
  • Loading branch information
nervgh committed Jul 31, 2015
1 parent f7b0bf7 commit 493bb50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/FileUploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,9 @@ export default (fileUploaderOptions, $rootScope, $http, $window, FileLikeObject,

forEach(item.formData, (obj) => {
forEach(obj, (value, key) => {
var element = element('<input type="hidden" name="' + key + '" />');
element.val(value);
form.append(element);
var element_ = element('<input type="hidden" name="' + key + '" />');
element_.val(value);
form.append(element_);
});
});

Expand Down

1 comment on commit 493bb50

@40x
Copy link

@40x 40x commented on 493bb50 Aug 4, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please update the onload handler in this function? PR #476

Please sign in to comment.