Changeset 6117 for trunk/expressoMail1_2


Ignore:
Timestamp:
05/07/12 12:50:02 (12 years ago)
Author:
angelo
Message:

Ticket #2699 - Deixar pre-selecionado o primeiro contato nos resultados de contatos dinamicos

File:
1 edited

Legend:

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

    r6109 r6117  
    34923492                if((event.keyCode) == 120){ 
    34933493                        emQuickSearch($(this).val(), "."+$(this).parents("tr:first").attr('class').split("-")[0], ID, undefined, true); 
     3494                }else if( (event.keyCode == 27) && $( this ).data( "autocomplete" ).menu.active ){ 
     3495                           event.stopPropagation(); 
     3496               event.preventDefault(); 
    34943497                } 
    34953498        }).autocomplete({ 
     
    35093512                        this.value = terms.join( ", " ); 
    35103513                        return false; 
    3511                 } 
     3514                }, 
     3515                autoFocus: true, 
    35123516        }).data( "autocomplete" )._renderItem = function( ul, item ) { 
    35133517                ul.css({"max-height" : "115px", "overflow-y" : "auto"}); 
Note: See TracChangeset for help on using the changeset viewer.