Browse Source

REPORT-60473 && REPORT-64922 fix:去掉focus时showView

es6
freddy 3 years ago
parent
commit
0bc476572b
  1. 4
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  2. 3
      src/widget/multilayersingletree/multilayersingletree.combo.js
  3. 3
      src/widget/multitree/multi.tree.combo.js
  4. 3
      src/widget/multitree/multi.tree.insert.combo.js
  5. 3
      src/widget/multitree/multi.tree.list.combo.js

4
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -156,10 +156,6 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
}, { }, {
eventName: BI.MultiLayerSelectTreeTrigger.EVENT_FOCUS, eventName: BI.MultiLayerSelectTreeTrigger.EVENT_FOCUS,
action: function () { action: function () {
if (!self.combo.isViewVisible()) {
self.combo.showView();
}
self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_FOCUS); self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_FOCUS);
} }
}, { }, {

3
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -158,9 +158,6 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
}, { }, {
eventName: BI.MultiLayerSingleTreeTrigger.EVENT_FOCUS, eventName: BI.MultiLayerSingleTreeTrigger.EVENT_FOCUS,
action: function () { action: function () {
if (!self.combo.isViewVisible()) {
self.combo.showView();
}
self.fireEvent(BI.MultiLayerSingleTreeCombo.EVENT_FOCUS); self.fireEvent(BI.MultiLayerSingleTreeCombo.EVENT_FOCUS);
} }
}, { }, {

3
src/widget/multitree/multi.tree.combo.js

@ -124,9 +124,6 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
}; };
this.trigger.on(BI.MultiSelectTrigger.EVENT_FOCUS, function () { this.trigger.on(BI.MultiSelectTrigger.EVENT_FOCUS, function () {
if (!self.combo.isViewVisible()) {
self.combo.showView();
}
self.fireEvent(BI.MultiTreeCombo.EVENT_FOCUS); self.fireEvent(BI.MultiTreeCombo.EVENT_FOCUS);
}); });
this.trigger.on(BI.MultiSelectTrigger.EVENT_BLUR, function () { this.trigger.on(BI.MultiSelectTrigger.EVENT_BLUR, function () {

3
src/widget/multitree/multi.tree.insert.combo.js

@ -140,9 +140,6 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
}; };
this.trigger.on(BI.MultiSelectTrigger.EVENT_FOCUS, function () { this.trigger.on(BI.MultiSelectTrigger.EVENT_FOCUS, function () {
if (!self.combo.isViewVisible()) {
self.combo.showView();
}
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_FOCUS); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_FOCUS);
}); });
this.trigger.on(BI.MultiSelectTrigger.EVENT_BLUR, function () { this.trigger.on(BI.MultiSelectTrigger.EVENT_BLUR, function () {

3
src/widget/multitree/multi.tree.list.combo.js

@ -158,9 +158,6 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
}; };
this.trigger.on(BI.MultiSelectTrigger.EVENT_FOCUS, function () { this.trigger.on(BI.MultiSelectTrigger.EVENT_FOCUS, function () {
if (!self.combo.isViewVisible()) {
self.combo.showView();
}
self.fireEvent(BI.MultiTreeListCombo.EVENT_FOCUS); self.fireEvent(BI.MultiTreeListCombo.EVENT_FOCUS);
}); });
this.trigger.on(BI.MultiSelectTrigger.EVENT_BLUR, function () { this.trigger.on(BI.MultiSelectTrigger.EVENT_BLUR, function () {

Loading…
Cancel
Save