make leaves selectable in TreeList, fixed: 226
This commit is contained in:
parent
1db649bd61
commit
82744a14ed
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ Ox.TreeList = function(options, self) {
|
||||||
.appendTo($item);
|
.appendTo($item);
|
||||||
}
|
}
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.addClass('OxCell OxTarget')
|
.addClass('OxCell OxTarget'+!data.items?' OxSelectable':'')
|
||||||
.css({
|
.css({
|
||||||
width: (self.options.width - padding - 32 + !data.items * 16) + 'px'
|
width: (self.options.width - padding - 32 + !data.items * 16) + 'px'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue