Ignore:
Timestamp:
02/10/12 13:49:18 (12 years ago)
Author:
angelo
Message:

Ticket #2485 - Otimizar acao de criar nova mensagem ou encaminhar

File:
1 edited

Legend:

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

    r5495 r5496  
    36133613        var cc_load = ""; 
    36143614        a_cc_link.onclick = function () { 
     3615                var rm = false; 
    36153616                var remove = function(){ 
    36163617                        document.getElementById('tr_cc_'+ID).style.display = 'none'; 
     
    36183619                        $("#cc_"+ID).val(""); 
    36193620                        $("#a_cc_link_"+ID).toggleClass("expressomail-button-icon-ative"); 
     3621                        rm = true; 
    36203622                } 
    36213623                if(!($("#cc_"+ID).parent().find("div")[0])){ 
     
    36373639                        } 
    36383640                } 
    3639                 input_cc.focus(); 
    3640                  
     3641                if (rm) 
     3642                        input_to.focus(); 
     3643                else     
     3644                        input_cc.focus();                
    36413645                return false; 
    36423646        }; 
     
    39593963                $("#"+$(this).attr("name")).attr("checked", (!check ? true : false)); 
    39603964                //$(this).button({ disabled: false }); 
     3965                if (RichTextEditor.plain[id] != true) 
     3966                        setTimeout("RichTextEditor.focus("+ID+")",100);                  
     3967                else  
     3968                        $('#body_'+ID).focus(); 
    39613969        }); 
    39623970         
Note: See TracChangeset for help on using the changeset viewer.