|
|
@ -11360,14 +11360,14 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, { |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
self._showSearcherPane(); |
|
|
|
self._showSearcherPane(); |
|
|
|
self.storeValue = {value: self.adapter.getValue()}; |
|
|
|
self.storeValue = {value: self.adapter.getValue()}; |
|
|
|
self.searcherPane.setValue(self.storeValue); |
|
|
|
self.searcherPane.setSelectedValue(self.storeValue.value); |
|
|
|
} |
|
|
|
} |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
eventName: BI.Searcher.EVENT_STOP, |
|
|
|
eventName: BI.Searcher.EVENT_STOP, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
self._showAdapter(); |
|
|
|
self._showAdapter(); |
|
|
|
// self.storeValue = {value: self.searcherPane.getValue()};
|
|
|
|
// self.storeValue = {value: self.searcherPane.getValue()};
|
|
|
|
self.adapter.setValue(self.storeValue); |
|
|
|
self.adapter.setSelectedValue(self.storeValue.value); |
|
|
|
BI.nextTick(function () { |
|
|
|
BI.nextTick(function () { |
|
|
|
self.adapter.populate(); |
|
|
|
self.adapter.populate(); |
|
|
|
}); |
|
|
|
}); |
|
|
@ -11430,17 +11430,17 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setSelectedValue: function (v) { |
|
|
|
setSelectedValue: function (v) { |
|
|
|
|
|
|
|
this.storeValue.value = v || {}; |
|
|
|
this.adapter.setSelectedValue(v); |
|
|
|
this.adapter.setSelectedValue(v); |
|
|
|
|
|
|
|
this.trigger.setValue({ |
|
|
|
|
|
|
|
value: v || {} |
|
|
|
|
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|
this.storeValue.value = v || {}; |
|
|
|
|
|
|
|
this.adapter.setValue({ |
|
|
|
this.adapter.setValue({ |
|
|
|
value: v || {} |
|
|
|
value: v || {} |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.setValue({ |
|
|
|
|
|
|
|
value: v || {} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
stopSearch: function () { |
|
|
|
stopSearch: function () { |
|
|
@ -11497,7 +11497,7 @@ BI.MultiSelectTreePopup = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|
v || (v = {}); |
|
|
|
v || (v = {}); |
|
|
|
this.popup.setValue(v.value); |
|
|
|
this.popup.setValue(v); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setSelectedValue: function (v) { |
|
|
|
setSelectedValue: function (v) { |
|
|
@ -12029,8 +12029,12 @@ BI.MultiTreeSearchPane = BI.inherit(BI.Pane, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|
|
|
|
|
this.setSelectedValue(v.value); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setSelectedValue: function (v) { |
|
|
|
v || (v = {}); |
|
|
|
v || (v = {}); |
|
|
|
this.partTree.setSelectedValue(v.value); |
|
|
|
this.partTree.setSelectedValue(v); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|