'minus' -> 'remove'
This commit is contained in:
parent
4248a3a783
commit
56c72ba0b4
1 changed files with 4 additions and 3 deletions
|
@ -42,7 +42,8 @@ Ox.Checkbox = function(options, self) {
|
|||
},
|
||||
indeterminate: function() {
|
||||
if (self.options.indeterminate) {
|
||||
self.$button.options({value: 'minus'});
|
||||
self.$button.options({values: ['remove']});
|
||||
self.$button.options({value: 'remove'});
|
||||
} else {
|
||||
self.$button.options({values: ['none', 'check']});
|
||||
self.$button.toggle();
|
||||
|
@ -106,9 +107,9 @@ Ox.Checkbox = function(options, self) {
|
|||
id: self.options.id + 'Button',
|
||||
style: self.options.style != 'rounded' ? self.options.style : '',
|
||||
type: 'image',
|
||||
value: self.options.indeterminate ? 'minus'
|
||||
value: self.options.indeterminate ? 'remove'
|
||||
: self.options.value ? 'check' : 'none',
|
||||
values: self.options.indeterminate ? ['minus'] : ['none', 'check']
|
||||
values: self.options.indeterminate ? ['remove'] : ['none', 'check']
|
||||
})
|
||||
.addClass('OxCheckbox')
|
||||
.bindEvent({
|
||||
|
|
Loading…
Reference in a new issue