diff --git a/src/widget/multilayersingletree/multilayersingletree.leveltree.js b/src/widget/multilayersingletree/multilayersingletree.leveltree.js index ba814fab08..dd168b3852 100644 --- a/src/widget/multilayersingletree/multilayersingletree.leveltree.js +++ b/src/widget/multilayersingletree/multilayersingletree.leveltree.js @@ -10,7 +10,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { baseCls: "bi-multilayer-single-level-tree", isDefaultInit: false, items: [], - itemsCreator: BI.emptyFn + itemsCreator: BI.emptyFn, + chooseType: BI.Selection.Single }); }, @@ -89,7 +90,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", - chooseType: BI.Selection.Single, + chooseType: o.chooseType, layouts: [{ type: "bi.vertical" }] @@ -107,7 +108,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { element: this, scrollable: true, items: [this.tree] - }) + }); }, populate: function (nodes) {