Browse Source

REPORT-80202 fix: combo.textvalue hideView时把参数传下去

research/test
Austin.Duan 2 years ago
parent
commit
5f33c4bfe1
  1. 2
      src/base/combination/combo.js
  2. 4
      src/case/combo/textvaluecombo/combo.textvalue.js

2
src/base/combination/combo.js

@ -152,7 +152,7 @@
o.hideWhenClickOutside && BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName()).unbind("mousewheel." + this.getName());
BI.EVENT_BLUR && o.hideWhenBlur && BI.Widget._renderEngine.createElement(window).unbind("blur." + this.getName());
this.fireEvent(BI.Combo.EVENT_AFTER_HIDEVIEW);
this.fireEvent(BI.Combo.EVENT_AFTER_HIDEVIEW, e);
},
_popupView: function (e) {

4
src/case/combo/textvaluecombo/combo.textvalue.js

@ -87,7 +87,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
changeTag = true;
this.setValue(this.popup.getValue());
if (o.chooseType === BI.ButtonGroup.CHOOSE_TYPE_SINGLE) {
this.combo.hideView();
this.combo.hideView(...args);
this.fireEvent(BI.TextValueCombo.EVENT_CHANGE, ...args);
}
}
@ -110,7 +110,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
listeners: [
{
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW,
action: (...args) => {
action: () => {
changeTag = false;
}
}, {

Loading…
Cancel
Save