|
|
@ -77,7 +77,7 @@ BI.Switch = BI.inherit(BI.BasicButton, { |
|
|
|
|
|
|
|
|
|
|
|
doClick: function () { |
|
|
|
doClick: function () { |
|
|
|
BI.Switch.superclass.doClick.apply(this, arguments); |
|
|
|
BI.Switch.superclass.doClick.apply(this, arguments); |
|
|
|
this.fireEvent(BI.Switch.EVENT_CHANGE); |
|
|
|
this.fireEvent(BI.Switch.EVENT_CHANGE, this.isSelected()); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.Switch.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.Switch.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|