Lines Matching refs:list
30 let list = jQuery(id);
37 .appendTo(list);
41 list.append(list.children().get().sort(function (a, b) {
47 return list.val();
54 return list.children('[value="' + value + '"]').attr('selected', 'selected').val();
58 list.empty();
68 return list.children(':first').attr('selected', 'selected').val();
72 let option = list.children('[value="' + value + '"]');
75 list.prop('selectedIndex', option.index() + (option.is(':last-child') ? -1 : 1));
79 return list.val();
83 if (list.children('[value="' + oldValue + '"]').remove().length == 1) {
87 return list.val();
326 let list = null;
539 list = new List('#select-namespaces');
578 setCurrent(list.getSelectedValue());
587 setCurrent(list.insertValue(name));
606 setCurrent(list.renameValue(oldName, newName));
619 setCurrent(list.removeValue(current.getName()));
637 setCurrent(list.reload(namespaces));
675 let list = null;
830 list = new List('#select-notes');
849 setCurrent(list.getSelectedValue());
858 setCurrent(list.insertValue(name));
877 setCurrent(list.renameValue(oldName, newName));
890 setCurrent(list.removeValue(current.getName()));
914 setCurrent(list.reload(notes));