Ignore:
Timestamp:
04/03/07 16:30:17 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/js/cc.js

    r2 r12  
    19031903                                                                var id_contact = data[3][pos][k]; 
    19041904                                                                Element(id+':'+data[2][k]).value = data[3][pos][k]; 
    1905                                                                 if (data[4][pos] == 1) 
    1906                                                                 { 
    1907                                                                         Element(id+':cc_photo').src = '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo&id='+data[3][pos][k]+'&none=' + Math.random(); 
    1908                                                                 } 
    1909                                                                 else 
    1910                                                                 { 
    1911                                                                         Element(id+':cc_photo').src = '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo'; 
    1912                                                                 } 
     1905                                                                Element(id+':cc_photo').src = '../index.php?menuaction=contactcenter.ui_data.data_manager&method=get_photo' + (data[4][pos] != 0 ? '&id='+data[3][pos][k] : ''); 
    19131906                                                                if(ccTree.catalog_perms == 1) 
    19141907                                                                        Element(id+':cc_icon_data').innerHTML =  '<span title="Copiar para o Catálogo Pessoal" id="' + id + ':ccQuickAdd" onmouseout="window.status=\'\';" onclick="ccQuickAddContact.showList(\''+ Element(id+':cc_id').value + '\');return true;" style="cursor: pointer; cursor: hand; z-index: 1"><img src="templates/default/images/address-conduit-16.png" align="center"></span>'; 
Note: See TracChangeset for help on using the changeset viewer.