indeterminate checkboxes...

This commit is contained in:
rlx 2016-02-10 13:06:15 +05:30
parent 12c466b0d3
commit 4248a3a783

View file

@ -108,7 +108,7 @@ Ox.Checkbox = function(options, self) {
type: 'image',
value: self.options.indeterminate ? 'minus'
: self.options.value ? 'check' : 'none',
values: self.options.indeterminate ? [] : ['none', 'check']
values: self.options.indeterminate ? ['minus'] : ['none', 'check']
})
.addClass('OxCheckbox')
.bindEvent({