This commit is contained in:
Ayush Gupta
2012-07-13 08:40:22 -07:00
parent 5f2e11117c
commit a1320696e0
4 changed files with 17 additions and 5 deletions

View File

@@ -401,7 +401,7 @@
_ref = this.parameters;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
param = _ref[_i];
if (jQuery.inArray(param.paramType, paramTypes) && args[param.name]) {
if ((jQuery.inArray(param.paramType, paramTypes) >= 0) && args[param.name]) {
matchingParams[param.name] = urlEncode ? encodeURIComponent(args[param.name]) : args[param.name];
}
}