guy 8 years ago
parent
commit
51def4d312
  1. 20
      bi/widget.js
  2. 20
      docs/widget.js
  3. 20
      src/widget/multitree/multi.tree.combo.js

20
bi/widget.js

@ -11828,18 +11828,18 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
if (isSearching()) { if (isSearching()) {
self.trigger.stopEditing(); self.trigger.stopEditing();
self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM); self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
return; }else{
} if (isPopupView()) {
if (isPopupView()) { self.trigger.stopEditing();
self.trigger.stopEditing(); self.storeValue = {value: self.combo.getValue()};
self.storeValue = {value: self.combo.getValue()}; if (clear === true) {
if (clear === true) { self.storeValue = {value: {}};
self.storeValue = {value: {}}; }
clear = false; self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
change = false;
} }
self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
} }
clear = false;
change = false;
}); });
var triggerBtn = BI.createWidget({ var triggerBtn = BI.createWidget({

20
docs/widget.js

@ -11828,18 +11828,18 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
if (isSearching()) { if (isSearching()) {
self.trigger.stopEditing(); self.trigger.stopEditing();
self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM); self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
return; }else{
} if (isPopupView()) {
if (isPopupView()) { self.trigger.stopEditing();
self.trigger.stopEditing(); self.storeValue = {value: self.combo.getValue()};
self.storeValue = {value: self.combo.getValue()}; if (clear === true) {
if (clear === true) { self.storeValue = {value: {}};
self.storeValue = {value: {}}; }
clear = false; self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
change = false;
} }
self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
} }
clear = false;
change = false;
}); });
var triggerBtn = BI.createWidget({ var triggerBtn = BI.createWidget({

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

@ -188,18 +188,18 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
if (isSearching()) { if (isSearching()) {
self.trigger.stopEditing(); self.trigger.stopEditing();
self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM); self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
return; }else{
} if (isPopupView()) {
if (isPopupView()) { self.trigger.stopEditing();
self.trigger.stopEditing(); self.storeValue = {value: self.combo.getValue()};
self.storeValue = {value: self.combo.getValue()}; if (clear === true) {
if (clear === true) { self.storeValue = {value: {}};
self.storeValue = {value: {}}; }
clear = false; self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
change = false;
} }
self.fireEvent(BI.MultiTreeCombo.EVENT_CONFIRM);
} }
clear = false;
change = false;
}); });
var triggerBtn = BI.createWidget({ var triggerBtn = BI.createWidget({

Loading…
Cancel
Save