From 1d92aea8e20a6635bc9276cf6dcf6f9fa8f526ee Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Wed, 20 Apr 2011 16:00:08 +0200 Subject: [PATCH] Fix Item#setSelected. --- src/item/Item.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index f4934db1..f1b069db 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -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 {