|
|
@ -53,10 +53,11 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, { |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|
var val = this.combo.getValue() || {}; |
|
|
|
var val = this.combo.getValue() || {}; |
|
|
|
if (val.type === BI.Selection.All) { |
|
|
|
if (val.type === BI.Selection.Multi) { |
|
|
|
return val.assist; |
|
|
|
return val.value || []; |
|
|
|
} |
|
|
|
} |
|
|
|
return val.value || []; |
|
|
|
|
|
|
|
|
|
|
|
return BI.difference(BI.map(this.items, "value"), val.value || []); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|