1
0
mirror of synced 2024-11-26 23:06:02 +03:00

Merge pull request #387 from markmarkoh/master

change check for "children" in populateResults
This commit is contained in:
Igor Vaynberg 2012-09-06 16:31:12 -07:00
commit 819cca7e70

View File

@ -692,7 +692,7 @@
result=results[i];
selectable=id(result) !== undefined;
compound=("children" in result) && result.children.length > 0;
compound=result.children && result.children.length > 0;
node=$("<li></li>");
node.addClass("select2-results-dept-"+depth);