|
|
@ -28,6 +28,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, { |
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
|
|
|
|
itemFormatter: o.itemFormatter, |
|
|
|
logic: { |
|
|
|
logic: { |
|
|
|
dynamic: false |
|
|
|
dynamic: false |
|
|
|
}, |
|
|
|
}, |
|
|
@ -45,6 +46,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, { |
|
|
|
type: "bi.multi_select_search_insert_pane", |
|
|
|
type: "bi.multi_select_search_insert_pane", |
|
|
|
cls: "bi-border-left bi-border-right bi-border-bottom", |
|
|
|
cls: "bi-border-left bi-border-right bi-border-bottom", |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
|
|
|
|
itemFormatter: o.itemFormatter, |
|
|
|
keywordGetter: function () { |
|
|
|
keywordGetter: function () { |
|
|
|
return self.trigger.getKeyword(); |
|
|
|
return self.trigger.getKeyword(); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -240,7 +242,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, { |
|
|
|
|
|
|
|
|
|
|
|
digest(); |
|
|
|
digest(); |
|
|
|
|
|
|
|
|
|
|
|
function digest () { |
|
|
|
function digest() { |
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
BI.each(keywords, function (i, val) { |
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
self.storeValue.type === BI.Selection.Multi ? BI.pushDistinct(self.storeValue.value, val) : BI.remove(self.storeValue.value, val); |
|
|
|
}); |
|
|
|
}); |
|
|
|