Fix Item#setSelected.

This commit is contained in:
Jonathan Puckey 2011-04-20 16:00:08 +02:00
parent 877e9f324c
commit 1d92aea8e2

View file

@ -54,9 +54,9 @@ var Item = this.Item = Base.extend({
},
setSelected: function(selected) {
if (this._children) {
if (this.children) {
for (var i = 0, l = this.children.length; i < l; i++) {
var child = this._children[i];
var child = this.children[i];
child.setSelected(selected);
}
} else {