@ -9,7 +9,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup",
maxWidth: "auto",
minWidth: 100,
minWidth: 140,
maxHeight: 400,
onLoaded: BI.emptyFn,
el: {
@ -59,7 +59,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) {
v || (v = {});
this.setVisible(BI.size(v.value) > 0);
var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
});