##// END OF EJS Templates
Merge pull request #6634 from minrk/select-contains...
Thomas Kluyver -
r18180:6b40a4e9 merge
parent child Browse files
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 = ' :contains("' + item + '")';
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