Skip to content

Commit

Permalink
Merge pull request #10 from evilaliv3/fix/issue/9
Browse files Browse the repository at this point in the history
Fix issue #9
  • Loading branch information
AidasK committed Nov 26, 2015
2 parents 4e4f9e9 + fb8ab58 commit c8f179c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/fusty-flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@
},
createForm: function() {
var target = this.flowObj.opts.target;
if (typeof target === "function") {
target = target.apply(null);
}

var form = document.createElement('form');
form.encoding = "multipart/form-data";
form.method = "POST";
Expand Down

0 comments on commit c8f179c

Please sign in to comment.