|
|
@ -10782,7 +10782,11 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, { |
|
|
|
ob || (ob = {}); |
|
|
|
ob || (ob = {}); |
|
|
|
ob.value || (ob.value = []); |
|
|
|
ob.value || (ob.value = []); |
|
|
|
if (ob.type === BI.Selection.All) { |
|
|
|
if (ob.type === BI.Selection.All) { |
|
|
|
this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.All); |
|
|
|
if (BI.size(ob.assist) === 1) { |
|
|
|
|
|
|
|
this.editor.setState(ob.assist[0] + ""); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.All); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (BI.size(ob.value) === 1) { |
|
|
|
if (BI.size(ob.value) === 1) { |
|
|
|
this.editor.setState(ob.value[0] + ""); |
|
|
|
this.editor.setState(ob.value[0] + ""); |
|
|
|