indeterminate checkboxes...
This commit is contained in:
parent
ff30b32188
commit
6d560fc4f5
1 changed files with 3 additions and 2 deletions
|
@ -46,8 +46,9 @@ Ox.Checkbox = function(options, self) {
|
|||
self.$button.options({value: 'remove'});
|
||||
} else {
|
||||
self.$button.options({values: ['none', 'check']});
|
||||
self.$button.options({value: self.options.value});
|
||||
self.$button.toggle();
|
||||
self.$button.options({
|
||||
value: self.options.value ? 'none' : 'check'
|
||||
});
|
||||
}
|
||||
},
|
||||
label: function() {
|
||||
|
|
Loading…
Reference in a new issue