Ignore:
Timestamp:
05/20/11 11:15:25 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Erro ao criar grupo contendo contato compartilhado - r4444

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/contactcenter/js/ccAddGroup.js

    r4132 r4470  
    369369                { 
    370370 
    371                    var item = data[3][i]; 
    372                    var id = 'ldap:'+data[11]+':'+item[6]; 
    373                    var option = document.createElement('OPTION'); 
    374                    option.value = id; 
    375                    option.text = item[1]+' ('+item[4]+')'; 
    376                    contact_list.options[contact_list.options.length] = option; 
     371                                        var item = data[3][i]; 
     372                                        if (data[8] == 'bo_shared_people_manager'){  
     373                                                var id = data[3][i][6];  
     374                                        }         
     375                                        else  
     376                                        {  
     377                                                var id = 'ldap:'+data[11]+':'+item[6];  
     378                                        } 
     379                                        var option = document.createElement('OPTION'); 
     380                                        option.value = id; 
     381                                        option.text = item[1]+' ('+item[4]+')'; 
     382                                        contact_list.options[contact_list.options.length] = option; 
    377383                } 
    378384 
Note: See TracChangeset for help on using the changeset viewer.