Skip to content

Commit

Permalink
FormData: Fix mechanical typos. Update binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayarjo committed Feb 14, 2013
1 parent 3970294 commit af2acbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/js/moxie.js
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,7 @@ define("moxie/xhr/FormData", [
delete _fields[_blobField];
}
_blobField = name;
_fields[name] = value;
_fields[name] = [value];
} else if ('array' === valueType) {
name += '[]';

Expand Down Expand Up @@ -2792,7 +2792,7 @@ define("moxie/xhr/FormData", [
@return {Object} Either Blob if found or null
*/
getBlob: function() {
return _fields[_blobField] || null;
return _fields[_blobField] && _fields[_blobField][0] || null;
},

/**
Expand Down
Loading

0 comments on commit af2acbc

Please sign in to comment.