Ignore:
Timestamp:
05/04/11 18:49:21 (13 years ago)
Author:
rodsouza
Message:

Ticket #1824 - Corrige local do opcao do envio de e-mail em texto puro.

File:
1 edited

Legend:

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

    r4204 r4218  
    22672267 
    22682268        tr_menu_new_message.appendChild(td_menu_new_message); 
    2269  
    2270         if ( ! expresso_offline ) 
    2271         { 
    2272                 var text_plain = td_menu_new_message.appendChild( 
    2273                         document.createElement( 'span' ) 
    2274                 ).appendChild( 
    2275                         document.createTextNode( ' | ' ) 
    2276                 ).parentNode.appendChild( 
    2277                         document.createElement( 'input' ) 
    2278                 ).parentNode.appendChild( 
    2279                         document.createTextNode( get_lang('Send this mail as text plain') + '.') 
    2280                 ).previousSibling; 
    2281                 text_plain.setAttribute( 'tabIndex', '-1' ); 
    2282                 text_plain.id = 'textplain_rt_checkbox_' + ID ; 
    2283                 text_plain.type = "checkbox"; 
    2284                 text_plain.onclick = function () 
    2285                 { 
    2286                         RichTextEditor.plain( ( ! this.checked ) ? this.checked : mobile_device || ( this.checked = confirm( 'The text format will be lost.' ) ) ); 
    2287                         document.getElementById( 'viewsource_rt_checkbox_' + ID ).parentNode.style.display = ( this.checked ) ? 'none' : ''; 
    2288                 }; 
    2289         } 
    22902269 
    22912270        tbody_menu_new_message.appendChild(tr_menu_new_message); 
     
    28062785        tr5.appendChild(td5); 
    28072786        tr5.appendChild(td_return_receipt); 
     2787 
     2788        if ( ! expresso_offline ) 
     2789        { 
     2790                var text_plain = td_return_receipt.appendChild( 
     2791                        document.createElement( 'span' ) 
     2792                ).appendChild( 
     2793                        document.createTextNode( ' | ' ) 
     2794                ).parentNode.appendChild( 
     2795                        document.createTextNode( get_lang('Send this mail as text plain') + '.') 
     2796                ).parentNode.appendChild( 
     2797                        document.createElement( 'input' ) 
     2798                ); 
     2799                text_plain.setAttribute( 'tabIndex', '-1' ); 
     2800                text_plain.id = 'textplain_rt_checkbox_' + ID ; 
     2801                text_plain.type = "checkbox"; 
     2802                text_plain.onclick = function () 
     2803                { 
     2804                        RichTextEditor.plain( this.checked ); 
     2805                        document.getElementById( 'viewsource_rt_checkbox_' + ID ).parentNode.style.display = ( this.checked ) ? 'none' : ''; 
     2806                }; 
     2807        } 
     2808 
    28082809        tbody_message.appendChild(tr5); 
    28092810        if (parseInt(preferences.use_important_flag)) 
Note: See TracChangeset for help on using the changeset viewer.