Skip to content
This repository
Browse code

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
Ingo Schommer authored March 14, 2012

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  javascript/TreeDropdownField.js
1  javascript/TreeDropdownField.js
@@ -155,7 +155,6 @@
155 155
 								var val = self.getValue(), selectNode = treeHolder.find('*[data-id="' + val + '"]'), 
156 156
 									currentNode = data.inst.get_selected();
157 157
 								if(val && selectNode != currentNode) data.inst.select_node(selectNode);
158  
-								data.inst.open_all();
159 158
 								firstLoad = false;
160 159
 								if(callback) callback.apply(self);
161 160
 							})

0 notes on commit ed08b8c

Please sign in to comment.
Something went wrong with that request. Please try again.