Ignore:
Timestamp:
11/18/10 09:58:06 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #1153 - Corrigido o problema da listagem que mostrava dois checkboxes ao lado de cada arquivo vcard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/expressoMail1_2/js/draw_api.js

    r3142 r3522  
    16741674                        else 
    16751675                                link_attachment.innerHTML += ' (' + msg_size + ' bytes)'; 
    1676                         if((url_decode(info_msg.attachments[i].name).indexOf(".ics")!=-1) || (url_decode(info_msg.attachments[i].name).indexOf(".vcard")!=-1)){ 
     1676                        if((url_decode(info_msg.attachments[i].name).indexOf(".ics")!=-1) || 
     1677                                        (url_decode(info_msg.attachments[i].name).indexOf(".vcard")!=-1)){ 
    16771678                                //Link para importar calendário 
    16781679                                var link_import_attachment = new Image(); 
    16791680                                link_import_attachment.src = "templates/"+template+"/images/new.png"; 
    1680                                 link_import_attachment.setAttribute("onclick","javascript:import_calendar('"+info_msg.msg_folder+"&msg_number="+info_msg.msg_number+"&msg_part="+info_msg.attachments[i].pid+"&idx_file="+i+"&encoding="+info_msg.attachments[i].encoding+"');"); 
     1681                                link_import_attachment.setAttribute("onclick","javascript:import_calendar('"+info_msg.msg_folder+"&msg_number="+info_msg.msg_number+"&msg_part="+info_msg.attachments[i].pid+"&idx_file="+i+"&encoding="+info_msg.attachments[i].encoding+"'); return false;"); 
    16811682                                link_import_attachment.title = get_lang("Import to calendar"); 
    1682                                 link_import_attachment.align = "top";                            
     1683                                link_import_attachment.align = "top"; 
     1684                                link_import_attachment.style.marginLeft = "5px"; 
    16831685                                link_import_attachment.style.cursor = "pointer"; 
    1684                                 var space = document.createElement("span"); 
    1685                                 space.innerHTML = " "; 
    1686                                 attachments.appendChild(link_attachment); 
    1687                                 attachments.appendChild(space); 
    1688                                 attachments.appendChild(link_import_attachment); 
    1689                         } 
    1690                         else { 
    1691                                 link_attachment.innerHTML += '<BR>'; 
    1692                                 attachments.appendChild(link_attachment); 
    1693                         } 
     1686                                link_attachment.appendChild(link_import_attachment); 
     1687                        } 
     1688                         
     1689                        link_attachment.innerHTML += '<br/>'; 
     1690                        attachments.appendChild(link_attachment); 
    16941691                } 
    16951692                tr6.appendChild(td6); 
Note: See TracChangeset for help on using the changeset viewer.