Changeset 353


Ignore:
Timestamp:
07/09/08 11:58:58 (16 years ago)
Author:
niltonneto
Message:
 
File:
1 edited

Legend:

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

    r342 r353  
    3535                        var cmb = document.createElement("SELECT"); 
    3636                        cmb.id = "select_QuickCatalogSearch"; 
    37                         cmb.style.width = "685px"; // na comunidade valor eh 585px 
     37                        cmb.style.width = "685px"; 
    3838                        cmb.size = "12"; 
    3939                        cmb.onkeypress = function (e) 
     
    310310                 
    311311                this.update_organizations(); 
    312          
    313312                var handler_cc_contacts= function(data){ 
    314313                        if(data && data.length > 0){ 
     
    377376 
    378377        emQuickCatalogSearch.prototype.update_organizations = function(){ 
    379  
    380                          
    381378                while(Element('select_organization').options.length > 0) { 
    382379                        Element('select_organization').remove(0); 
    383380                } 
    384                  
    385                  
    386381                var handler_org = function(data){ 
    387382                        Element('select_organization').options[0] = new Option(get_lang('all'),'all'); 
     
    393388                        } 
    394389                         
    395                 } 
    396                  
    397                 cExecute ("$this.ldap_functions.get_organizations&referral=false&catalog="+Element('select_catalog').value, handler_org); 
    398                  
     390                }                
     391                cExecute ("$this.ldap_functions.get_organizations&referral=false&catalog="+Element('select_catalog').value, handler_org);                
    399392        } 
    400393 
     
    510503                         
    511504                        for(i = 0; data.users && i < data.users.length; i++) {                   
    512                                 if(is_ie){ 
     505                                if(is_ie) 
    513506                                        arr[i] = '<option value="'+'&quot;'+data.users[i].name+'&quot; &lt;'+data.users[i].email+'&gt;">'+data.users[i].name+' ('+data.users[i].email+')'+'</option>'; 
    514                                 } 
    515                                 else{ 
    516          
     507                                else { 
    517508                                /*******************************************************************************************/ 
    518509                                /* O resultado pratico do bloco de codigo a seguir eh a exibicao dos valores em tela, 
Note: See TracChangeset for help on using the changeset viewer.