Changeset 253 for trunk/contactcenter/js/cc.js
- Timestamp:
- 04/01/08 11:18:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/js/cc.js
r241 r253 308 308 var data = unserialize(responseText); 309 309 Element('group_id').value = data['id_group']; 310 var options_contact_list = Element('contact_list');310 311 311 if(data['contact_list']) { 312 options_contact_list.innerHTML = data['contact_list']; 312 for(i = 0; i < data['contact_list'].length; i++) { 313 option = document.createElement('option'); 314 option.value = data['contact_list'][i]['id_connection']; 315 option.text = data['contact_list'][i]['names_ordered']+' ('+data['contact_list'][i]['connection_value']+')'; 316 Element('contact_list').options[Element('contact_list').options.length] = option; 317 } 313 318 } 314 319
Note: See TracChangeset
for help on using the changeset viewer.