Lines Matching refs:list

57       var list = $('full-name-list');
58 options.autofillOptions.AutofillValuesList.decorate(list);
59 list.autoExpands = true;
61 list = $('phone-list');
62 options.autofillOptions.AutofillValuesList.decorate(list);
63 list.autoExpands = true;
65 list = $('fax-list');
66 options.autofillOptions.AutofillValuesList.decorate(list);
67 list.autoExpands = true;
69 list = $('email-list');
70 options.autofillOptions.AutofillValuesList.decorate(list);
71 list.autoExpands = true;
75 * Updates the data model for the list named |listName| with the values from
77 * @param {String} listName The id of the list.
78 * @param {Array} entries The list of items to be added to the list.
82 var list = $(listName);
83 list.dataModel = new ArrayDataModel(
87 list.dataModel.splice(list.dataModel.length, 0, null);
90 list.dataModel.addEventListener(
92 list.dataModel.addEventListener(
115 var list = $('full-name-list');
116 address[1] = list.dataModel.slice(0, list.dataModel.length - 1);
124 list = $('phone-list');
125 address[9] = list.dataModel.slice(0, list.dataModel.length - 1);
126 list = $('fax-list');
127 address[10] = list.dataModel.slice(0, list.dataModel.length - 1);
128 list = $('email-list');
129 address[11] = list.dataModel.slice(0, list.dataModel.length - 1);
160 // in the list.
162 $('full-name-list').items.length <= 1 &&
166 !$('country').value && $('phone-list').items.length <= 1 &&
167 $('fax-list').items.length <= 1 && $('email-list').items.length <= 1;
191 * Populates the country <select> list.
202 // We always want the default country to be at the top of the list, so
230 // Add the countries to the country <select> list.
243 this.setMultiValueList_('full-name-list', []);
251 this.setMultiValueList_('phone-list', []);
252 this.setMultiValueList_('fax-list', []);
253 this.setMultiValueList_('email-list', []);
274 this.setMultiValueList_('full-name-list', address['fullName']);
282 this.setMultiValueList_('phone-list', address['phone']);
283 this.setMultiValueList_('fax-list', address['fax']);
284 this.setMultiValueList_('email-list', address['email']);