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:
Ingo Schommer 2012-03-14 23:04:43 +01:00
parent 4d723c7580
commit ed08b8c00b

View File

@ -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);
})