diff --git a/dist/bundle.js b/dist/bundle.js index 19db28ddf3..366fac31b6 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -65607,7 +65607,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 }); }, @@ -65686,7 +65687,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", - chooseType: BI.Selection.Single, + chooseType: o.chooseType, layouts: [{ type: "bi.vertical" }] @@ -65704,7 +65705,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { element: this, scrollable: true, items: [this.tree] - }) + }); }, populate: function (nodes) { diff --git a/dist/fineui.js b/dist/fineui.js index 2a22d64086..db731d34f8 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -65846,7 +65846,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 }); }, @@ -65925,7 +65926,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", - chooseType: BI.Selection.Single, + chooseType: o.chooseType, layouts: [{ type: "bi.vertical" }] @@ -65943,7 +65944,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { element: this, scrollable: true, items: [this.tree] - }) + }); }, populate: function (nodes) { diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 963481d2bf..8bd6246751 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -49433,7 +49433,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 }); }, @@ -49512,7 +49513,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", - chooseType: BI.Selection.Single, + chooseType: o.chooseType, layouts: [{ type: "bi.vertical" }] @@ -49530,7 +49531,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { element: this, scrollable: true, items: [this.tree] - }) + }); }, populate: function (nodes) { diff --git a/dist/widget.js b/dist/widget.js index 8fb7ef4dad..20edc3924f 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -7235,7 +7235,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 }); }, @@ -7314,7 +7315,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", - chooseType: BI.Selection.Single, + chooseType: o.chooseType, layouts: [{ type: "bi.vertical" }] @@ -7332,7 +7333,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { element: this, scrollable: true, items: [this.tree] - }) + }); }, populate: function (nodes) { 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) {