Browse Source

Merge pull request #79 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit '19579f2ce83dc444c9aa6b798b815c65ea189489':
  树控件
es6
windy 7 years ago
parent
commit
c2f4c32e72
  1. 20
      bi/widget.js
  2. 20
      docs/widget.js
  3. 20
      src/widget/multitree/multi.tree.combo.js

20
bi/widget.js

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

20
docs/widget.js

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

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

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

Loading…
Cancel
Save