Changeset 5507


Ignore:
Timestamp:
02/13/12 13:31:41 (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

    r5506 r5507  
    36953695                var cco_load = ""; 
    36963696                a_cco_link.onclick = function () { 
     3697                        var rm = false; 
    36973698                        var remove = function(){ 
    36983699                                document.getElementById('tr_cco_'+ID).style.display = 'none'; 
     
    37003701                                $("#cco_"+ID).val(""); 
    37013702                                $("#a_cco_link_"+ID).toggleClass("expressomail-button-icon-ative"); 
     3703                                rm = true; 
    37023704                        } 
    37033705                        if(!($("#cco_"+ID).parent().find("div")[0])){ 
     
    37193721                        } 
    37203722                } 
    3721                         input_cco.focus(); 
     3723                        if (rm) { 
     3724                                if (Element('tr_cc_'+ID).style.display != 'none') 
     3725                                   input_cc.focus(); 
     3726                                else 
     3727                                        input_to.focus(); 
     3728                        } 
     3729                        else 
     3730                                input_cco.focus(); 
    37223731                };  
    37233732                //td2_link.appendChild(a_cco_link);  
     
    37463755                if (k == 9){ 
    37473756                        if (e.shiftKey){ 
    3748                                 var cco = Element("cco_"+ID); 
    3749                                 var cc = Element("cc_"+ID); 
    3750                                 if (cco.style.display != 'none'){ 
    3751                                         cco.focus(); 
     3757                                if (Element('tr_cco_'+ID).style.display != 'none'){ 
     3758                                        input_cco.focus(); 
    37523759                                } 
    3753                                 else if (cc.style.display != 'none'){ 
    3754                                         cc.focus(); 
     3760                                else if (Element('tr_cc_'+ID).style.display != 'none'){ 
     3761                                        input_cc.focus(); 
    37553762                                } 
    37563763                                else { 
    37573764                                        Element("to_"+ID).focus(); 
    37583765                                } 
     3766                                e.preventDefault(); 
    37593767                        } 
    37603768                        else{           
Note: See TracChangeset for help on using the changeset viewer.