Show More
@@ -403,7 +403,7 define([ | |||||
403 | var items = this.model.get('value_names'); |
|
403 | var items = this.model.get('value_names'); | |
404 | var that = this; |
|
404 | var that = this; | |
405 | _.each(items, function(item, index) { |
|
405 | _.each(items, function(item, index) { | |
406 |
var item_query = ' |
|
406 | var item_query = 'option[value_name="' + item + '"]'; | |
407 | if (that.$listbox.find(item_query).length === 0) { |
|
407 | if (that.$listbox.find(item_query).length === 0) { | |
408 | $('<option />') |
|
408 | $('<option />') | |
409 | .text(item) |
|
409 | .text(item) |
General Comments 0
You need to be logged in to leave comments.
Login now