|
|
@ -298,8 +298,8 @@ BI.BasicButton = BI.inherit(BI.Single, { |
|
|
|
this.setSelected(!this.isSelected())); |
|
|
|
this.setSelected(!this.isSelected())); |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.isValid()) { |
|
|
|
if (this.isValid()) { |
|
|
|
o.handler.call(this, this.getValue(), this, e); |
|
|
|
|
|
|
|
var v = this.getValue(); |
|
|
|
var v = this.getValue(); |
|
|
|
|
|
|
|
o.handler.call(this, v, this, e); |
|
|
|
this.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, v, this, e); |
|
|
|
this.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, v, this, e); |
|
|
|
this.fireEvent(BI.BasicButton.EVENT_CHANGE, v, this); |
|
|
|
this.fireEvent(BI.BasicButton.EVENT_CHANGE, v, this); |
|
|
|
if (o.action) { |
|
|
|
if (o.action) { |
|
|
@ -411,4 +411,4 @@ BI.BasicButton = BI.inherit(BI.Single, { |
|
|
|
BI.BasicButton.superclass.destroy.apply(this, arguments); |
|
|
|
BI.BasicButton.superclass.destroy.apply(this, arguments); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.BasicButton.EVENT_CHANGE = "BasicButton.EVENT_CHANGE"; |
|
|
|
BI.BasicButton.EVENT_CHANGE = "BasicButton.EVENT_CHANGE"; |
|
|
|