'minus' -> 'remove'

This commit is contained in:
rlx 2016-02-10 13:08:10 +05:30
parent 4248a3a783
commit 56c72ba0b4

View file

@ -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({