From 5013532d46d97d2fa83aea107f60184b422b69b7 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 24 Sep 2014 20:18:29 +0200 Subject: [PATCH] that. -> self. --- source/Ox.UI/js/List/TreeList.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Ox.UI/js/List/TreeList.js b/source/Ox.UI/js/List/TreeList.js index 18ee2ba1..8ab9eb40 100644 --- a/source/Ox.UI/js/List/TreeList.js +++ b/source/Ox.UI/js/List/TreeList.js @@ -253,16 +253,16 @@ Ox.TreeList = function(options, self) { return false; } }); - //that.$element.value(item.id, 'expanded', expanded); + //self.$list.value(item.id, 'expanded', expanded); $img.attr({ src: getIcon(item.id, expanded).attr('src') }); if (expanded) { - that.$element.addItems( + self.$list.addItems( pos + 1, parseItems(item.items, item.level + 1) ); } else { - that.$element.removeItems( + self.$list.removeItems( pos + 1, parseItems(item.items, item.level + 1).length ); }