Ignore:
Timestamp:
05/26/11 09:20:19 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Erro ao salvar mensagem automaticamente - r4503

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/expressoMail1_2/js/main.js

    r4521 r4522  
    19651965        form.appendChild(input_insertImg); 
    19661966 
    1967         var mail_type = document.createElement( 'input' );  
    1968         mail_type.name = 'type';  
    1969         mail_type.type = 'hidden';  
    1970         mail_type.value = ( mail_as_plain ) ? 'plain' : 'html';  
     1967         
     1968        var mail_type;        
     1969  
     1970        if (is_ie)  
     1971        {  
     1972                mail_type = document.createElement('<input type="hidden" />');  
     1973        }  
     1974        else  
     1975        {  
     1976                mail_type = document.createElement('input');  
     1977                mail_type.setAttribute('type', 'hidden');  
     1978        }  
     1979        mail_type.setAttribute('name', 'type');  
     1980        var mail_type_value = ( mail_as_plain ) ? 'plain' : 'html';  
     1981        mail_type.setAttribute("value", mail_type_value); 
     1982 
    19711983        form.parentNode.appendChild( mail_type ); 
    19721984         
Note: See TracChangeset for help on using the changeset viewer.