diff --git a/demo/js/component/demo.valuechoosercombo.js b/demo/js/component/demo.valuechoosercombo.js index 1fd1485cdd..bd0d84112b 100644 --- a/demo/js/component/demo.valuechoosercombo.js +++ b/demo/js/component/demo.valuechoosercombo.js @@ -4,16 +4,10 @@ Demo.ValueChooserCombo = BI.inherit(BI.Widget, { }, render: function () { var widget = BI.createWidget({ - type: "bi.value_chooser_no_bar_combo", + type: "bi.value_chooser_combo", itemsCreator: function (op, callback) { callback(BI.deepClone(Demo.CONSTANTS.ITEMS)); - }, - listeners: [{ - eventName: "EVENT_CONFIRM", - action: function () { - BI.Msg.toast(widget.getValue()); - } - }] + } }); return { type: "bi.vertical",