|
|
@ -15,7 +15,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
return BI.extend(BI.MultiSelectInsertTrigger.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend(BI.MultiSelectInsertTrigger.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseCls: "bi-multi-select-trigger bi-border bi-border-radius", |
|
|
|
baseCls: "bi-multi-select-trigger", |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
valueFormatter: BI.emptyFn, |
|
|
|
valueFormatter: BI.emptyFn, |
|
|
|
itemHeight: 24, |
|
|
|
itemHeight: 24, |
|
|
@ -32,9 +32,6 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, { |
|
|
|
BI.MultiSelectInsertTrigger.superclass._init.apply(this, arguments); |
|
|
|
BI.MultiSelectInsertTrigger.superclass._init.apply(this, arguments); |
|
|
|
|
|
|
|
|
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
if (o.height) { |
|
|
|
|
|
|
|
this.setHeight(o.height - 2); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.searcher = BI.createWidget(o.searcher, { |
|
|
|
this.searcher = BI.createWidget(o.searcher, { |
|
|
|
type: "bi.multi_select_insert_searcher", |
|
|
|
type: "bi.multi_select_insert_searcher", |
|
|
|