Browse Source

Pull request #1560: 无jira任务 代码优化

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit '4a5a60aad5e19c6b56fe63eb2562ea63e5d3932b':
  无jira任务 代码优化
es6
imp 4 years ago
parent
commit
a34666de46
  1. 2
      src/base/single/button/button.basic.js

2
src/base/single/button/button.basic.js

@ -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) {

Loading…
Cancel
Save