diff --git a/bi/case.js b/bi/case.js index e8cc8687b..8da7cb122 100644 --- a/bi/case.js +++ b/bi/case.js @@ -3592,6 +3592,10 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { showView: function () { this.combo && this.combo.showView(); + }, + + hasView: function () { + return BI.isNotNull(this.combo.getView()); } }); diff --git a/docs/case.js b/docs/case.js index e8cc8687b..8da7cb122 100644 --- a/docs/case.js +++ b/docs/case.js @@ -3592,6 +3592,10 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { showView: function () { this.combo && this.combo.showView(); + }, + + hasView: function () { + return BI.isNotNull(this.combo.getView()); } }); diff --git a/src/case/combo/bubblecombo/combo.bubble.js b/src/case/combo/bubblecombo/combo.bubble.js index 5b257f17c..da4454098 100644 --- a/src/case/combo/bubblecombo/combo.bubble.js +++ b/src/case/combo/bubblecombo/combo.bubble.js @@ -193,6 +193,10 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { showView: function () { this.combo && this.combo.showView(); + }, + + hasView: function () { + return BI.isNotNull(this.combo.getView()); } });