change check for "children" in populateResults #387

Merged
merged 1 commit into from Sep 6, 2012

Projects

None yet

2 participants

@markmarkoh
Contributor

("children" in result) && result.children.length fails if children is explicitly null.

@markmarkoh markmarkoh safer check for result.children
`("children" in result) && result.children.length` fails if children is explicitly null.
7c2dba8
@ivaynberg ivaynberg merged commit 819cca7 into select2:master Sep 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment