in list with max=0, make sure items are not selectable (fixes #708)
This commit is contained in:
parent
2dbe98bb98
commit
260c513e8e
1 changed files with 1 additions and 1 deletions
|
@ -851,7 +851,7 @@ Ox.List = function(options, self) {
|
|||
// shift-click on item
|
||||
addAllToSelection(pos);
|
||||
}
|
||||
} else if (!isSelected(pos)) {
|
||||
} else if (!isSelected(pos) && self.options.max != 0) {
|
||||
// click on unselected item
|
||||
select(pos);
|
||||
} else if (self.options.type == 'text') {
|
||||
|
|
Loading…
Reference in a new issue