Changeset 2078


Ignore:
Timestamp:
02/25/10 16:28:44 (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
  • branches/2.1/expressoMail1_2/js/main.js

    r1988 r2078  
    20802080        var attachments = Element('attachments_'+border_ID); 
    20812081        var body                = Element('body_'+border_ID); 
     2082         
     2083        if (!is_ie) {//altera o link da imagem para renderização na tela de impressão no firefox 
     2084                var link = location.href.replace(/\/expressoMail1_2\/(.*)/, ""); 
     2085                link = link.replace(/\/expressoMail1_2\/(.*)/, ""); 
     2086                body.innerHTML = body.innerHTML.replace(/\.(\/inc\/show_embedded_attach\.php)/, link + "/expressoMail1_2$1"); 
     2087                body.innerHTML = body.innerHTML.replace(/(tmpLclAtt\/)/, link + "/expressoMail1_2/$1"); 
     2088        } 
    20822089 
    20832090        var print_width = screen.width - 200; 
Note: See TracChangeset for help on using the changeset viewer.