Changeset 5231


Ignore:
Timestamp:
12/08/11 08:17:00 (12 years ago)
Author:
gustavo
Message:

Ticket #2367 - Corrigir seleção de catálogo após pesquisa no F9

File:
1 edited

Legend:

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

    r5201 r5231  
    66                this.cc_groups  = new Array(); 
    77        } 
    8          
     8        
     9        $(document).ready(function(){ 
     10                $('#combobox option').each(function(){ 
     11                        if($(this).val() == preferences.catalog_search){ 
     12                                $(this).attr('selected',true); 
     13                        } 
     14                }); 
     15        });         
    916        /* showlist */   
    1017        emQuickCatalogSearch.prototype.showList = function(data, begin, end, ID, field) 
     
    266273                var first_contact; 
    267274                begin ? first_contact = 0 : first_contact = ((sliderValue* 6) -6);                       
    268                 if(first_contact == 0) { 
    269                         $(document).ready(function(){ 
    270                                 $('#combobox option').each(function(){ 
    271                                         if($(this).val() == preferences.catalog_search){ 
    272                                                 $(this).attr('selected',true); 
    273                                         } 
    274                                 }); 
    275                         }); 
    276                 } 
    277275                var details = $("#detalhes_contato").empty();    
    278276                 
Note: See TracChangeset for help on using the changeset viewer.