|
|
@ -78,7 +78,7 @@ BI.ButtonTree = BI.inherit(BI.ButtonGroup, { |
|
|
|
var v = []; |
|
|
|
var v = []; |
|
|
|
BI.each(this.buttons, function (i, item) { |
|
|
|
BI.each(this.buttons, function (i, item) { |
|
|
|
if (item.isEnabled() && !BI.isFunction(item.setSelected)) { |
|
|
|
if (item.isEnabled() && !BI.isFunction(item.setSelected)) { |
|
|
|
v = BI.concat(v, item.getValue()); |
|
|
|
v = BI.union(v, item.getValue()); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (item.isEnabled() && item.isSelected && item.isSelected()) { |
|
|
|
if (item.isEnabled() && item.isSelected && item.isSelected()) { |
|
|
|