From 12c466b0d3115b27854238442935029bfb566514 Mon Sep 17 00:00:00 2001 From: rlx Date: Wed, 10 Feb 2016 13:04:39 +0530 Subject: [PATCH] indeterminate checkboxes... --- source/UI/js/Form/Checkbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/UI/js/Form/Checkbox.js b/source/UI/js/Form/Checkbox.js index 89cb1d13..754d9f79 100644 --- a/source/UI/js/Form/Checkbox.js +++ b/source/UI/js/Form/Checkbox.js @@ -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 ? null : ['none', 'check'] + values: self.options.indeterminate ? [] : ['none', 'check'] }) .addClass('OxCheckbox') .bindEvent({