Browse Source

REPORT-30722 fix: 两个单选下拉树也补一下before_popup事件

es6
windy 5 years ago
parent
commit
91432ebb3b
  1. 5
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  2. 5
      src/widget/multilayersingletree/multilayersingletree.combo.js

5
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -174,6 +174,11 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
action: function () { action: function () {
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}, {
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW,
action: function () {
self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_BEFORE_POPUPVIEW);
}
}] }]
} }
}, },

5
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -176,6 +176,11 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
action: function () { action: function () {
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}, {
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW,
action: function () {
self.fireEvent(BI.MultiLayerSingleTreeCombo.EVENT_BEFORE_POPUPVIEW);
}
}] }]
} }
}, },

Loading…
Cancel
Save