diff --git a/src/item/Item.js b/src/item/Item.js index 2cb5d4e3..fd2f7bc9 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -643,7 +643,7 @@ var Item = this.Item = Base.extend({ * @return {boolean} {@true it is a child of the item} */ isChild: function(item) { - return item._parent == this; + return item && item._parent == this; }, /**