Browse Source

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

Merge in VISUAL/fineui from ~WINDY/fineui:master to master

* commit '91432ebb3bc191596903db027c4359bcde2f9c50':
  REPORT-30722 fix: 两个单选下拉树也补一下before_popup事件
es6
windy 5 years ago
parent
commit
25be895be0
  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