Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merge concat

  • Loading branch information...
commit add3dfae0dc73d12265249cf0d9e126d3fde8f1f 1 parent 7af52b1
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  javascript/TreeDropdownField.js
View
2  javascript/TreeDropdownField.js
@@ -164,7 +164,7 @@
'url': this.data('url-tree'),
'data': function(node) {
var id = $(node).data("id") ? $(node).data("id") : 0, params = self.getRequestParams();
- params = params.concat([{name: 'ID', value: id}, {name: 'ajax', value: 1}]);
+ params = $.extend({}, params, {ID: id, ajax: 1});
return params;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.