|
|
|
@ -133,9 +133,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
|
|
|
|
|
var state = ""; |
|
|
|
|
BI.each(ob.assist, function (i, v) { |
|
|
|
|
if (i === 0) { |
|
|
|
|
state += "" + (o.valueFormatter(v + "") || v); |
|
|
|
|
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v)); |
|
|
|
|
} else { |
|
|
|
|
state += "," + (o.valueFormatter(v + "") || v); |
|
|
|
|
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v)); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.editor.setState(state); |
|
|
|
@ -149,9 +149,9 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
|
|
|
|
|
var state = ""; |
|
|
|
|
BI.each(ob.value, function (i, v) { |
|
|
|
|
if (i === 0) { |
|
|
|
|
state += "" + (o.valueFormatter(v + "") || v); |
|
|
|
|
state += "" + (v === null ? "" : (o.valueFormatter(v + "") || v)); |
|
|
|
|
} else { |
|
|
|
|
state += "," + (o.valueFormatter(v + "") || v); |
|
|
|
|
state += "," + (v === null ? "" : (o.valueFormatter(v + "") || v)); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.editor.setState(state); |
|
|
|
@ -161,7 +161,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getState: function() { |
|
|
|
|
getState: function () { |
|
|
|
|
return this.editor.getState(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -191,4 +191,4 @@ BI.MultiSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
|
|
|
|
|
BI.MultiSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; |
|
|
|
|
BI.MultiSelectSearcher.EVENT_FOCUS = "EVENT_FOCUS"; |
|
|
|
|
BI.MultiSelectSearcher.EVENT_BLUR = "EVENT_BLUR"; |
|
|
|
|
BI.shortcut("bi.multi_select_searcher", BI.MultiSelectSearcher); |
|
|
|
|
BI.shortcut("bi.multi_select_searcher", BI.MultiSelectSearcher); |
|
|
|
|