mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Don't auto-expand nodes on TreeDropdownField, as it makes a gazillion ajax requests on sufficiently large trees (and gets nodes in chunks of 30) (fixes #6879)
This commit is contained in:
parent
4d723c7580
commit
ed08b8c00b
@ -155,7 +155,6 @@
|
||||
var val = self.getValue(), selectNode = treeHolder.find('*[data-id="' + val + '"]'),
|
||||
currentNode = data.inst.get_selected();
|
||||
if(val && selectNode != currentNode) data.inst.select_node(selectNode);
|
||||
data.inst.open_all();
|
||||
firstLoad = false;
|
||||
if(callback) callback.apply(self);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user