diff --git a/src/component/treevaluechooser/combo.listtreevaluechooser.js b/src/component/treevaluechooser/combo.listtreevaluechooser.js index b6ceac719..51e9cd047 100644 --- a/src/component/treevaluechooser/combo.listtreevaluechooser.js +++ b/src/component/treevaluechooser/combo.listtreevaluechooser.js @@ -93,7 +93,9 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, }, populate: function (items) { - this._initData(items); + if (BI.isNotNull(items)) { + this._initData(items); + } this.combo.populate(); } }); diff --git a/src/component/treevaluechooser/combo.treevaluechooser.insert.js b/src/component/treevaluechooser/combo.treevaluechooser.insert.js index a99d24cc3..15ebd6ea0 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.insert.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.insert.js @@ -92,7 +92,9 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { }, populate: function (items) { - this._initData(items); + if (BI.isNotNull(items)) { + this._initData(items); + } this.combo.populate(); } }); diff --git a/src/component/treevaluechooser/combo.treevaluechooser.js b/src/component/treevaluechooser/combo.treevaluechooser.js index b1a11cb5d..2b567b087 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.js @@ -96,7 +96,9 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { }, populate: function (items) { - this._initData(items); + if (BI.isNotNull(items)) { + this._initData(items); + } this.combo.populate(); } }); diff --git a/src/component/treevaluechooser/pane.treevaluechooser.js b/src/component/treevaluechooser/pane.treevaluechooser.js index a8b444390..39a81d0c4 100644 --- a/src/component/treevaluechooser/pane.treevaluechooser.js +++ b/src/component/treevaluechooser/pane.treevaluechooser.js @@ -50,7 +50,9 @@ BI.TreeValueChooserPane = BI.inherit(BI.AbstractTreeValueChooser, { }, populate: function (items) { - this._initData(items); + if (BI.isNotNull(items)) { + this._initData(items); + } this.pane.populate(); } });