diff --git a/source/Ox.UI/js/List/Ox.TreeList.js b/source/Ox.UI/js/List/Ox.TreeList.js index 3e539e72..df272804 100644 --- a/source/Ox.UI/js/List/Ox.TreeList.js +++ b/source/Ox.UI/js/List/Ox.TreeList.js @@ -181,7 +181,10 @@ Ox.TreeList = function(options, self) { function toggleItem(item, expanded) { var $img, pos; item.expanded = expanded; - that.$element.find('.OxItem').each(function() { + //fixme why does + //that.$element.find('.OxItem').each(function() { + //only return one element? + $(that.$element).find('.OxItem').each(function() { var $item = $(this); if ($item.data('id') == item.id) { $img = $item.find('.OxToggle');