Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Don't auto-expand nodes on TreeDropdownField, as it makes a gaz…

…illion ajax requests on sufficiently large trees (and gets nodes in chunks of 30) (fixes #6879)
  • Loading branch information...
commit ed08b8c00b068f93343c4a47a1bf0616ab95de99 1 parent 4d723c7
@chillu chillu authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  javascript/TreeDropdownField.js
View
1  javascript/TreeDropdownField.js
@@ -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);
})
Please sign in to comment.
Something went wrong with that request. Please try again.