Changeset 4282


Ignore:
Timestamp:
05/09/11 14:22:14 (8 years ago)
Author:
airton
Message:

Ticket #1820 - Corrige local do opcao do envio de e-mail em texto puro - r4258

File:
1 edited

Legend:

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

    r4281 r4282  
    19291929        message_id = openTab.imapUid[border_id]; 
    19301930        var handler_save_msg = function(data){ return_save(data,this.tmp_border_id,this.tmp_folder_name,this.tmp_folder_id,this.message_id); } 
    1931  
    1932         var mail_as_plain = document.getElementById( 'textplain_rt_checkbox_' + border_id ); 
    1933         mail_as_plain = ( mail_as_plain ) ? mail_as_plain.checked : false; 
     1931         
     1932        var mail_as_plain = document.getElementById( 'textplain_rt_checkbox_' + border_id );  
     1933        mail_as_plain = ( mail_as_plain ) ? mail_as_plain.checked : false;  
    19341934 
    19351935        var textArea = document.createElement("TEXTAREA"); 
     
    19391939        if (! body) 
    19401940                return; 
    1941         textArea.value = ( ( mail_as_plain ) ? body.previousSibling.value : ( '<body>\r\n' + body.contentWindow.document.body.innerHTML + '\r\n</body>' ) ); 
     1941         
     1942        textArea.value = ( ( mail_as_plain ) ? body.previousSibling.value : ( '<body>\r\n' + body.contentWindow.document.body.innerHTML + '\r\n</body>' ) );  
    19421943        var input_folder = document.createElement("INPUT"); 
    19431944        input_folder.style.display='none'; 
     
    19661967        form.appendChild(input_insertImg); 
    19671968 
    1968         var mail_type = form.appendChild( document.createElement( 'input' ) ); 
    1969         mail_type.name = 'type'; 
    1970         mail_type.type = 'hidden'; 
    1971         mail_type.value = ( mail_as_plain ) ? 'plain' : 'html'; 
    1972  
     1969        var mail_type = form.appendChild( document.createElement( 'input' ) );  
     1970        mail_type.name = 'type';  
     1971        mail_type.type = 'hidden';  
     1972        mail_type.value = ( mail_as_plain ) ? 'plain' : 'html';  
     1973         
    19731974        cExecuteForm ("$this.imap_functions.save_msg", form, handler_save_msg,border_id); 
    19741975} 
Note: See TracChangeset for help on using the changeset viewer.