Changeset 3522 for branches/2.0/expressoMail1_2/js/draw_api.js
- Timestamp:
- 11/18/10 09:58:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/expressoMail1_2/js/draw_api.js
r3142 r3522 1674 1674 else 1675 1675 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)){ 1677 1678 //Link para importar calendário 1678 1679 var link_import_attachment = new Image(); 1679 1680 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;"); 1681 1682 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"; 1683 1685 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); 1694 1691 } 1695 1692 tr6.appendChild(td6);
Note: See TracChangeset
for help on using the changeset viewer.