Changeset 6113


Ignore:
Timestamp:
05/07/12 11:24:20 (9 years ago)
Author:
gustavo
Message:

Ticket #2676 - Falha ao anexar arquivo no expresso mail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/main.js

    r6106 r6113  
    20372037{    
    20382038    var fileUploadMSG = $('#fileupload_msg'+new_border_ID); 
    2039     var attachments = document.getElementById("attachments_" + old_id_border).getElementsByTagName("a");                         
     2039    var attachments = $("#attachments_" + old_id_border).find("a");                      
    20402040    for (var i = 0; i < attachments.length; i++){ 
    20412041            if((attachments[i].tagName=="SPAN") || (attachments[i].tagName=="IMG") || ((attachments[i].href.indexOf("javascript:download_local_attachment")==-1)&&(attachments[i].href.indexOf("javascript:download_attachments")==-1))) 
     
    20882088 
    20892089 
    2090                 upload.append('<input type="hidden" name="fileId[]" value=\''+idATT+'\'/>'); 
     2090                upload.find("p").append('<input type="hidden" name="fileId[]" value=\''+idATT+'\'/>'); 
    20912091                fileUploadMSG.find('.attachments-list').append(upload); 
    20922092 
Note: See TracChangeset for help on using the changeset viewer.