Browse Source

Merge pull request #359 in FUI/fineui from ~LEI.WANG/fineui:master to master

* commit 'c283c67f0dfe6f75183037c41f0744466294449a':
  BI-17954 处理点击组件bi.multi_select_bar中text区域内容仅会在组件内部发生状态改变而不对触发事件的问题
  no message
  BI-17954 处理点击组件bi.multi_select_bar中text区域内容仅会在组件内部发生状态改变而不对触发事件的问题
master
guy 7 years ago
parent
commit
be05495561
  1. 32
      dist/_fineui.min.js
  2. 7
      dist/bundle.js
  3. 30
      dist/bundle.min.js
  4. 7
      dist/case.js
  5. 32
      dist/fineui.min.js
  6. 7
      src/case/toolbar/toolbar.multiselect.js

32
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/bundle.js vendored

@ -85629,6 +85629,13 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
var isAllChecked = this.options.isAllCheckedBySelectedValue.apply(this, arguments);
this._setSelected(isAllChecked);
!isAllChecked && this.setHalfSelected(this.options.isHalfCheckedBySelectedValue.apply(this, arguments));
},
doClick: function () {
BI.MultiSelectBar.superclass.doClick.apply(this, arguments);
if(this.isValid()) {
this.fireEvent(BI.MultiSelectBar.EVENT_CHANGE);
}
}
});
BI.MultiSelectBar.EVENT_CHANGE = "MultiSelectBar.EVENT_CHANGE";

30
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/case.js vendored

@ -13180,6 +13180,13 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
var isAllChecked = this.options.isAllCheckedBySelectedValue.apply(this, arguments);
this._setSelected(isAllChecked);
!isAllChecked && this.setHalfSelected(this.options.isHalfCheckedBySelectedValue.apply(this, arguments));
},
doClick: function () {
BI.MultiSelectBar.superclass.doClick.apply(this, arguments);
if(this.isValid()) {
this.fireEvent(BI.MultiSelectBar.EVENT_CHANGE);
}
}
});
BI.MultiSelectBar.EVENT_CHANGE = "MultiSelectBar.EVENT_CHANGE";

32
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

7
src/case/toolbar/toolbar.multiselect.js

@ -128,6 +128,13 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
var isAllChecked = this.options.isAllCheckedBySelectedValue.apply(this, arguments);
this._setSelected(isAllChecked);
!isAllChecked && this.setHalfSelected(this.options.isHalfCheckedBySelectedValue.apply(this, arguments));
},
doClick: function () {
BI.MultiSelectBar.superclass.doClick.apply(this, arguments);
if(this.isValid()) {
this.fireEvent(BI.MultiSelectBar.EVENT_CHANGE);
}
}
});
BI.MultiSelectBar.EVENT_CHANGE = "MultiSelectBar.EVENT_CHANGE";

Loading…
Cancel
Save