that. -> self.
This commit is contained in:
parent
f557733be6
commit
5013532d46
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue