Ignore:
Timestamp:
11/16/12 16:35:59 (11 years ago)
Author:
thiago
Message:

Ticket #3186 - Problema no salvamento e problema ao abrir uma msg apos salvar.

File:
1 edited

Legend:

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

    r7525 r7526  
    47874787        }).click(function(){ 
    47884788                save_msg(ID); 
     4789        refresh(); 
    47894790        }) 
    47904791        //BOTAO CONF. LEITURA 
     
    48864887                                var upload = $(DataLayer.render("../prototype/modules/mail/templates/attachment_add_itemlist.ejs", {file : attach}));                            
    48874888                                upload.find('.att-box-delete').click(function(){ 
     4889                    $("#content_id_"+currentTab+" .save").button("enable"); 
    48884890                                        var idAttach = $(this).parent().find('input[name="fileId[]"]').val(); 
    48894891                                        fileUploadMSG.find(' .attachments-list').find('input[value="'+idAttach+'"]').remove(); 
     
    49524954                }, 
    49534955                done: function(e, data){ 
     4956            $("#content_id_"+currentTab+" .save").button("enable"); 
    49544957            var attach_box = fileUploadMSG.find('.att-box-loading:first').parents('.att-box'); 
    49554958            var attach = { 
     
    50675070                                                attach.fileSize = formatBytes(onceOpenedMessages[folder_name][message_number].size); 
    50685071                                                var upload = $(DataLayer.render("../prototype/modules/mail/templates/attachment_add_itemlist.ejs", {file : attach})); 
    5069                                                 upload.find('.att-box-loading').remove(); 
     5072                                                $("#content_id_"+currentTab+" .save").button("enable"); 
     5073                        upload.find('.att-box-loading').remove(); 
    50705074                                                upload.append('<input type="hidden" name="fileId[]" value=\''+idATT+'\'/>'); 
    50715075                                                 
    50725076                                                upload.find('.att-box-delete').click(function(){ 
     5077                            $("#content_id_"+currentTab+" .save").button("enable"); 
    50735078                                                        var idAttach = $(this).parent().find('input[name="fileId[]"]').val(); 
    50745079                                                        fileUploadMSG.find(' .attachments-list').find('input[value="'+idAttach+'"]').remove(); 
Note: See TracChangeset for help on using the changeset viewer.