Skip to content

Commit

Permalink
Enabling to merge only single part
Browse files Browse the repository at this point in the history
  • Loading branch information
acostajohn committed Jan 16, 2012
1 parent b6131e6 commit aaac013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Types/URI.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var URI = this.URI = new Class({
data[arguments[0]] = arguments[1];
values = data;
} else if (merge){
values = Object.merge(this.getData(), values);
values = Object.merge(this.getData(null, part), values);
}
return this.set(part || 'query', Object.toQueryString(values));
},
Expand Down

0 comments on commit aaac013

Please sign in to comment.