Ignore:
Timestamp:
05/31/12 14:46:42 (12 years ago)
Author:
gustavo
Message:

Ticket #2768 - Melhorias na criação de mensagens

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.1-3/expressoMail1_2/js/draw_api.js

    r6358 r6361  
    35973597                } 
    35983598 
    3599                  
     3599                //AO DIGITAR ENTER, ";", "," "  " 
    36003600                if(e.keyCode == 13 || e.keyCode == 9 || (e.keyCode == 188 && !e.shiftKey) || (e.keyCode == 191 && !e.shiftKey) ){ 
    36013601                        if(e.keyCode == 13){ 
     
    36203620                        return; 
    36213621                } 
    3622                  
     3622                //AO DIGITAR " " 
    36233623                if(e.keyCode == 32){ 
    36243624                        if(!input.val().length){ 
     
    36433643                        } 
    36443644                } 
    3645                  
     3645                //AO DIGITAR ">" 
    36463646                if(e.keyCode == 190 && e.shiftKey && input.val().length == getPosition(input[0])){ 
    36473647                        input.val(input.val()+">"); 
     
    36643664        //AO SAIR DO FOCO MONTAGEM DA CAIXA DE EMAIL 
    36653665        .focusout(function(){ 
    3666                 if(!($(this).parents("tr:first").find("button").hasClass("ui-state-active") || f9 || $(".expressomail-qs-container").dialog("isOpen"))){ 
     3666                if(!(f9 || $(this).parents("tr:first").find("button").hasClass("ui-state-active"))){ 
    36673667                        if($(input).val() != "") 
    36683668                                draw_email_box(input.val(), input); 
     
    36723672                input_search = $(input).val(); 
    36733673                $(input).val(""); 
    3674         }).bind("paste", function(e){ 
     3674        }) 
     3675        //AO COLAR UM TEXTO NO CAMPO 
     3676        .bind("paste", function(e){ 
    36753677                $(this).trigger("keydown"); 
    36763678                var pthis = $(this); 
Note: See TracChangeset for help on using the changeset viewer.