|
|
@ -58,12 +58,20 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
value: o.value |
|
|
|
value: o.value |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_FOCUS, function () { |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_FOCUS); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_BLUR, function () { |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_BLUR); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_START, function () { |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_START, function () { |
|
|
|
self._setStartValue(""); |
|
|
|
self._setStartValue(""); |
|
|
|
this.getSearcher().setValue(self.storeValue); |
|
|
|
this.getSearcher().setValue(self.storeValue); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_STOP, function () { |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_STOP, function () { |
|
|
|
self._setStartValue(""); |
|
|
|
self._setStartValue(""); |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_STOP); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_PAUSE, function () { |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_PAUSE, function () { |
|
|
|
if (this.getSearcher().hasMatched()) { |
|
|
|
if (this.getSearcher().hasMatched()) { |
|
|
@ -92,6 +100,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_SEARCHING); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_CHANGE, function (value, obj) { |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_CHANGE, function (value, obj) { |
|
|
@ -104,6 +113,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
assertShowValue(); |
|
|
|
assertShowValue(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_CLICK_ITEM); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
this.trigger.on(BI.MultiSelectInsertTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW, function () { |
|
|
|
this.getCounter().setValue(self.storeValue); |
|
|
|
this.getCounter().setValue(self.storeValue); |
|
|
@ -133,6 +143,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
self._adjust(function () { |
|
|
|
self._adjust(function () { |
|
|
|
assertShowValue(); |
|
|
|
assertShowValue(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
self.fireEvent(BI.MultiSelectInsertCombo.EVENT_CLICK_ITEM); |
|
|
|
} |
|
|
|
} |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CLICK_CONFIRM, |
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CLICK_CONFIRM, |
|
|
@ -378,6 +389,11 @@ BI.extend(BI.MultiSelectInsertCombo, { |
|
|
|
REQ_GET_ALL_DATA: -1 |
|
|
|
REQ_GET_ALL_DATA: -1 |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BI.MultiSelectInsertCombo.EVENT_FOCUS = "EVENT_FOCUS"; |
|
|
|
|
|
|
|
BI.MultiSelectInsertCombo.EVENT_BLUR = "EVENT_BLUR"; |
|
|
|
|
|
|
|
BI.MultiSelectInsertCombo.EVENT_STOP = "EVENT_STOP"; |
|
|
|
|
|
|
|
BI.MultiSelectInsertCombo.EVENT_SEARCHING = "EVENT_SEARCHING"; |
|
|
|
|
|
|
|
BI.MultiSelectInsertCombo.EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM"; |
|
|
|
BI.MultiSelectInsertCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; |
|
|
|
BI.MultiSelectInsertCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; |
|
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.multi_select_insert_combo", BI.MultiSelectInsertCombo); |
|
|
|
BI.shortcut("bi.multi_select_insert_combo", BI.MultiSelectInsertCombo); |