Ignore:
Timestamp:
11/23/10 15:22:12 (13 years ago)
Author:
brunocosta
Message:

Ticket #1325 - Adapta buscas LDAP para casos que não existem OUs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/js/sharemailbox.js

    r1913 r3530  
    201201                        for(i = 0; i < data.length; i++) { 
    202202                                Element('em_combo_org').options[i] = new Option(data[i].ou,data[i].dn); 
    203                                 if(user_organization.toUpperCase() == data[i].ou.toUpperCase()) 
     203                                if(data[i].ou.indexOf("dc=") != -1 || user_organization.toUpperCase() == data[i].ou.toUpperCase()) 
    204204                                { 
    205205                                        Element('em_combo_org').options[i].selected = true; 
Note: See TracChangeset for help on using the changeset viewer.