Changeset 4271


Ignore:
Timestamp:
05/09/11 09:09:20 (9 years ago)
Author:
diegomoreno
Message:

Ticket #1851 - expressoMail1_2 - Ajuste para enviar novo e-mail no IE8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/main.js

    r4232 r4271  
    17041704        form.appendChild(msg_id); 
    17051705 
    1706         var mail_type = form.appendChild( document.createElement( 'input' ) ); 
     1706        var mail_type = document.createElement('input'); 
     1707        mail_type.setAttribute('type', 'hidden'); 
    17071708        mail_type.name = 'type'; 
    1708         mail_type.type = 'hidden'; 
    17091709        mail_type.value = ( mail_as_plain ) ? 'plain' : 'html'; 
     1710        form.parentNode.appendChild(mail_type);  
    17101711 
    17111712        var _subject = trim(Element("subject_"+ID).value); 
     
    19761977        form.appendChild(input_insertImg); 
    19771978 
    1978         var mail_type = form.appendChild( document.createElement( 'input' ) ); 
     1979        var mail_type = document.createElement('input'); 
    19791980        mail_type.name = 'type'; 
    1980         mail_type.type = 'hidden'; 
     1981        mail_type.setAttribute('type', 'hidden'); 
    19811982        mail_type.value = ( mail_as_plain ) ? 'plain' : 'html'; 
     1983        form.parentNode.appendChild(mail_type); 
    19821984 
    19831985        cExecuteForm ("$this.imap_functions.save_msg", form, handler_save_msg,border_id); 
Note: See TracChangeset for help on using the changeset viewer.