|
|
@ -37,6 +37,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, { |
|
|
|
type: "bi.multi_select_insert_searcher", |
|
|
|
type: "bi.multi_select_insert_searcher", |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
text: o.text, |
|
|
|
text: o.text, |
|
|
|
|
|
|
|
defaultText: o.defaultText, |
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
itemHeight: o.itemHeight, |
|
|
@ -109,7 +110,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 重新调整numberCounter的空白占位符 |
|
|
|
* 重新调整numberCounter的空白占位符 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
refreshPlaceHolderWidth: function(width) { |
|
|
|
refreshPlaceHolderWidth: function (width) { |
|
|
|
this.wrapper.attr("items")[1].width = width; |
|
|
|
this.wrapper.attr("items")[1].width = width; |
|
|
|
this.wrapper.resize(); |
|
|
|
this.wrapper.resize(); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -150,4 +151,4 @@ BI.MultiSelectInsertTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW = "EVENT_BEFORE_COUNT |
|
|
|
BI.MultiSelectInsertTrigger.EVENT_FOCUS = "EVENT_FOCUS"; |
|
|
|
BI.MultiSelectInsertTrigger.EVENT_FOCUS = "EVENT_FOCUS"; |
|
|
|
BI.MultiSelectInsertTrigger.EVENT_BLUR = "EVENT_BLUR"; |
|
|
|
BI.MultiSelectInsertTrigger.EVENT_BLUR = "EVENT_BLUR"; |
|
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.multi_select_insert_trigger", BI.MultiSelectInsertTrigger); |
|
|
|
BI.shortcut("bi.multi_select_insert_trigger", BI.MultiSelectInsertTrigger); |
|
|
|