Ignore:
Timestamp:
07/09/12 15:23:03 (12 years ago)
Author:
marcosw
Message:

Ticket #2947 - Melhoria na exportação de mensagem individual

Location:
sandbox/2.4.2-expresso3/expressoMail1_2/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso3/expressoMail1_2/js/common_functions.js

    r6707 r6745  
    825825        var num_msg = id_msg.substr(0,(id_msg.length - 2)); 
    826826        var handler_source = function(data){ 
    827                 download_attachments(null, null, data, null,null,'fonte_da_mensagem.eml'); 
     827                download_attachments(null, null, data[0], null,null,data[1]+'.eml'); 
    828828        } 
    829829        cExecute("$this.exporteml.export_msg",handler_source,"folder="+url_decode(folder)+"&msgs_to_export="+num_msg); 
  • sandbox/2.4.2-expresso3/expressoMail1_2/js/main.js

    r6721 r6745  
    34853485                else{ 
    34863486                        var filename = 'mensagens.zip';  
    3487                         if (data.match(/\.eml$/gi)) {  
    3488                                 filename = 'fonte_da_mensagem.eml';  
     3487                        if (data[0].match(/\.eml$/gi)) {  
     3488                filename = data[1]+'.eml';  
    34893489                        }  
    34903490                        download_attachments(null, null, data, null,null,filename); 
Note: See TracChangeset for help on using the changeset viewer.