Ignore:
Timestamp:
09/09/11 15:26:36 (13 years ago)
Author:
airton
Message:

Ticket #2086 - Troca do atual editor de emails do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r4996 r5083  
    23812381        var td = document.createElement("TD"); 
    23822382        td.colSpan = '2'; 
     2383        td.style.fontSize = '10pt';  
     2384        td.style.fontFamily = 'Arial,Verdana';  
     2385        td.style.verticalAlign = 'top';  
     2386        td.style.height = '100%'; 
    23832387        div.appendChild(table_message_others_options); 
    23842388        var imgTag = info_msg.body.match(/(<img[^>]*src[^>=]*=['"]?[^'">]*["']?[^>]*>)|(<[^>]*(style[^=>]*=['"][^>]*background(-image)?:[^:;>]*url\()[^>]*>)/gi); 
     
    31303134        input_subject.style.width = "100%"; 
    31313135        input_subject.setAttribute("autocomplete","off"); 
     3136        input_subject.onkeydown = function(event){   
     3137                   var k;   
     3138                   if(window.event) k = window.event.keyCode;   
     3139                   else k = event.keyCode;   
     3140          
     3141                    if (k == 9)    
     3142                    {           
     3143                         RichTextEditor.focus(ID);   
     3144                         return false;   
     3145                        }    
     3146        }  
    31323147        td_subject.appendChild(input_subject); 
    31333148        tr4.appendChild(td4); 
     
    32523267                text_plain.onclick = function () 
    32533268                { 
    3254                         RichTextEditor.plain( this.checked ); 
    3255                         document.getElementById( 'viewsource_rt_checkbox_' + ID ).parentNode.style.display = ( this.checked ) ? 'none' : ''; 
     3269                RichTextEditor.setPlain( this.checked, ID ); 
    32563270                }; 
    3257                                 //text_plain = text_plain.parentNode.appendChild(input_checkbox); 
     3271                         
    32583272        } 
    32593273 
Note: See TracChangeset for help on using the changeset viewer.