From eab8dac46601984203c9ac8582b90c88528c6682 2014-01-23 01:15:10 From: Jonathan Frederic Date: 2014-01-23 01:15:10 Subject: [PATCH] Changed selection widget API to use labels list for mapping custom str reprs to items in the selection list --- diff --git a/IPython/html/static/notebook/js/widgets/widget_selection.js b/IPython/html/static/notebook/js/widgets/widget_selection.js index ece7a9a..92209de 100644 --- a/IPython/html/static/notebook/js/widgets/widget_selection.js +++ b/IPython/html/static/notebook/js/widgets/widget_selection.js @@ -64,7 +64,7 @@ define(["notebook/js/widgets/widget"], function(WidgetManager){ this.$droplabel.text(selected_item_text); } - var items = this.model.get('_values'); + var items = this.model.get('labels'); var $replace_droplist = $('