mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
merge concat
This commit is contained in:
parent
7af52b140b
commit
add3dfae0d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user