diff --git a/source/UI/js/Form/Checkbox.js b/source/UI/js/Form/Checkbox.js index e5b47202..a3785c5e 100644 --- a/source/UI/js/Form/Checkbox.js +++ b/source/UI/js/Form/Checkbox.js @@ -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({