Skip to content

Commit

Permalink
Fixed array detection in x domain request.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Yandell committed Mar 25, 2010
1 parent 5e46fbf commit 395407e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/net.js
Expand Up @@ -977,7 +977,7 @@
_addFormData: function () {
for (var i in this.data) {
if (! this.data.hasOwnProperty(i)) continue;
if (typeof(this.data[i]) instanceof Array) {
if (this.data[i] instanceof Array) {
var l = this.data[i].length;
for (var j = 0; j < l; j++) {
this._addHiddenInput(i, this.data[i][j]);
Expand Down

0 comments on commit 395407e

Please sign in to comment.