From 56c72ba0b4c25cde260090fcbc5969177d86b8aa Mon Sep 17 00:00:00 2001 From: rlx Date: Wed, 10 Feb 2016 13:08:10 +0530 Subject: [PATCH] 'minus' -> 'remove' --- source/UI/js/Form/Checkbox.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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({