Permalink
Browse files

Enabling to merge only single part

  • Loading branch information...
1 parent b6131e6 commit aaac013d7e3a7c09dadc45c6b6b3fef48c12a708 @jseros committed Jan 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Types/URI.js
View
2 Source/Types/URI.js
@@ -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));
},

0 comments on commit aaac013

Please sign in to comment.