Show More
@@ -324,7 +324,7 b' define(["widgets/js/widget"], function(WidgetManager){' | |||||
324 | var items = this.model.get('value_names'); |
|
324 | var items = this.model.get('value_names'); | |
325 | var that = this; |
|
325 | var that = this; | |
326 | _.each(items, function(item, index) { |
|
326 | _.each(items, function(item, index) { | |
327 |
var item_query = ' |
|
327 | var item_query = 'option[value_name="' + item + '"]'; | |
328 | if (that.$listbox.find(item_query).length === 0) { |
|
328 | if (that.$listbox.find(item_query).length === 0) { | |
329 | $('<option />') |
|
329 | $('<option />') | |
330 | .text(item) |
|
330 | .text(item) |
General Comments 0
You need to be logged in to leave comments.
Login now