|
|
|
@ -47,7 +47,8 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
|
popup: { |
|
|
|
|
type: "bi.multi_tree_search_insert_pane", |
|
|
|
|
listeners: [{ |
|
|
|
|
listeners: [ |
|
|
|
|
{ |
|
|
|
|
eventName: BI.MultiTreeSearchInsertPane.EVENT_ADD_ITEM, |
|
|
|
|
action: function () { |
|
|
|
|
self.storeValue.value[self.trigger.getSearcher().getKeyword()] = {}; |
|
|
|
@ -58,7 +59,13 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self._stopEditing(); |
|
|
|
|
self._dataChange = true; |
|
|
|
|
} |
|
|
|
|
}] |
|
|
|
|
}, { |
|
|
|
|
eventName: BI.MultiTreeSearchInsertPane.EVENT_CLICK_TREE_NODE, |
|
|
|
|
action: function () { |
|
|
|
|
self._dataChange = true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
value: { value: o.value || {} } |
|
|
|
@ -79,7 +86,8 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.trigger.setAdapter(this); |
|
|
|
|
self.numberCounter.setAdapter(this); |
|
|
|
|
}, |
|
|
|
|
listeners: [{ |
|
|
|
|
listeners: [ |
|
|
|
|
{ |
|
|
|
|
eventName: BI.MultiTreePopup.EVENT_AFTERINIT, |
|
|
|
|
action: function () { |
|
|
|
|
self.numberCounter.adjustView(); |
|
|
|
@ -115,7 +123,8 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
self.setValue(); |
|
|
|
|
self._defaultState(); |
|
|
|
|
} |
|
|
|
|
}], |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
|
onLoaded: function () { |
|
|
|
|
BI.nextTick(function () { |
|
|
|
@ -303,7 +312,8 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
element: this, |
|
|
|
|
items: [{ |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
el: this.combo, |
|
|
|
|
left: 0, |
|
|
|
|
right: 0, |
|
|
|
@ -322,7 +332,8 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
right: o.height, |
|
|
|
|
top: 0, |
|
|
|
|
height: o.height, |
|
|
|
|
}] |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|