diff --git a/dist/bundle.js b/dist/bundle.js index 19db28ddf..366fac31b 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 2a22d6408..db731d34f 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 963481d2b..8bd624675 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 8fb7ef4da..20edc3924 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 ba814fab0..dd168b385 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) {