Changeset 2077


Ignore:
Timestamp:
02/25/10 16:24:04 (14 years ago)
Author:
eduardoalex
Message:

Ticket #846 - Alterado o link para renderizacao da imagem no firefox na funcao print_msg

File:
1 edited

Legend:

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

    r2006 r2077  
    66 
    77function init(){ 
     8        current_folder = "INBOX"; 
    89        if (!is_ie) 
    910                Element('tableDivAppbox').width = '100%'; 
     
    20822083        var attachments = Element('attachments_'+border_ID); 
    20832084        var body                = Element('body_'+border_ID); 
     2085         
     2086        if (!is_ie) {//altera o link da imagem para renderização na tela de impressão no firefox 
     2087                var link = location.href.replace(/\/expressoMail1_2\/(.*)/, ""); 
     2088                link = link.replace(/\/expressoMail1_2\/(.*)/, ""); 
     2089                body.innerHTML = body.innerHTML.replace(/\.(\/inc\/show_embedded_attach\.php)/, link + "/expressoMail1_2$1"); 
     2090                body.innerHTML = body.innerHTML.replace(/(tmpLclAtt\/)/, link + "/expressoMail1_2/$1"); 
     2091        } 
    20842092 
    20852093        var print_width = screen.width - 200; 
Note: See TracChangeset for help on using the changeset viewer.