Ignore:
Timestamp:
11/08/07 15:57:16 (16 years ago)
Author:
niltonneto
Message:

Implementada funcionalidade na busca rápida no Catálogo Geral.
Quando o limite de resultados é excedido, o retorno da busca traz somente os usuários da mesma organização do usuário logado.

File:
1 edited

Legend:

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

    r53 r95  
    1111                _this = this; 
    1212 
    13                 var title = 'Escolha um nome:'; 
     13                var title = get_lang('Choose a name') + ':'; 
    1414                var el = document.createElement("DIV"); 
    1515                el.style.visibility = "hidden"; 
     
    2323                el.innerHTML = ""; 
    2424                 
    25                 el.innerHTML = "&nbsp;&nbsp;<b><font color='BLUE' nowrap>"+title+"</font></b>"+ 
    26                 "&nbsp;&nbsp;<br><u></u>&nbsp;&nbsp;"; 
     25                if (data.quickSearch_only_in_userSector) 
     26                        title += "<font color='BLACK' nowrap> ("+get_lang('Showing only the results found in your organization')+".)</font>" 
     27                 
     28                el.innerHTML = "&nbsp;&nbsp;<b><font color='BLUE' nowrap>"+title+"</font></b><br>&nbsp;&nbsp;"; 
    2729                 
    2830                if (document.getElementById('select_QuickCatalogSearch') == null){ 
     
    139141                if(! this.arrayWin[div.id]) { 
    140142                        div.style.width = "600px"; 
    141                         div.style.height = "250px"; 
     143                        div.style.height = "230px"; 
    142144                        var title = get_lang('The results were found in the Global Catalog')+':'; 
    143145                        var wHeight = div.offsetHeight + "px"; 
Note: See TracChangeset for help on using the changeset viewer.