indeterminate checkboxes...
This commit is contained in:
parent
6d560fc4f5
commit
1472927883
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ Ox.Button = function(options, self) {
|
|||
if (!self.options.disabled) {
|
||||
that.$tooltip && that.$tooltip.hide();
|
||||
that.triggerEvent('click');
|
||||
if (self.options.values.length || self.options.selectable) {
|
||||
if (self.options.values.length > 1 || self.options.selectable) {
|
||||
that.toggle();
|
||||
that.triggerEvent('change', {value: self.options.value});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue