diff --git a/IPython/html/static/notebook/js/widgets/selection.js b/IPython/html/static/notebook/js/widgets/selection.js index 77de43cd4..61c328faa 100644 --- a/IPython/html/static/notebook/js/widgets/selection.js +++ b/IPython/html/static/notebook/js/widgets/selection.js @@ -274,4 +274,82 @@ define(["notebook/js/widget"], function(widget_manager){ }); widget_manager.register_widget_view('ToggleButtonsView', ToggleButtonsView); + + var ListBoxView = IPython.WidgetView.extend({ + + // Called when view is rendered. + render : function(){ + this.$el + .addClass('widget-hbox') + .html(''); + this.$label = $('
') + .appendTo(this.$el) + .addClass('widget-hlabel') + .hide(); + this.$listbox = $('