Changeset 7379


Ignore:
Timestamp:
10/09/12 14:10:23 (7 years ago)
Author:
rafaelgobara
Message:

Ticket #3080 - Ajuste para tratar o onchange que abre o lightbox do organograma no firefox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/js/orgchart/organization.js

    r7372 r7379  
    415415                content += '<option value="loadAddEmployeeStatusUI">Status de Funcionário</option>'; 
    416416                content += '<option value="loadAddEmployeeCategoryUI">Categorias</option>'; 
    417                 content += '<option value="loadAddJobTitleUI" class="lbOn">Cargos</option>'; 
    418                 content += '<option value="loadAddAreaStatusUI" class="lbOn">Status de Área</option>'; 
    419                 content += '<option value="loadAddCostCenterUI" class="lbOn">Centros de Custo</option>'; 
    420                 content += '<option value="loadAddLocalUI" class="lbOn">Localidade</option>'; 
    421                 content += '<option value="loadAddAreaUI" class="lbOn">Áreas</option>'; 
    422                 content += '<option value="loadAddEmployeeUI" class="lbOn">Funcionários</option>'; 
    423                 content += '<option value="loadAddTelephoneUI" class="lbOn">Telefones</option>'; 
    424                 content += '<option value="loadAddSubstitutionUI" class="lbOn">Substituições</option>'; 
     417                content += '<option value="loadAddJobTitleUI">Cargos</option>'; 
     418                content += '<option value="loadAddAreaStatusUI">Status de Área</option>'; 
     419                content += '<option value="loadAddCostCenterUI">Centros de Custo</option>'; 
     420                content += '<option value="loadAddLocalUI">Localidade</option>'; 
     421                content += '<option value="loadAddAreaUI">Áreas</option>'; 
     422                content += '<option value="loadAddEmployeeUI">Funcionários</option>'; 
     423                content += '<option value="loadAddTelephoneUI">Telefones</option>'; 
     424                content += '<option value="loadAddSubstitutionUI">Substituições</option>'; 
    425425                content += '</select></li>'; 
    426426                content += '<li><a><input type="text" name="search_term" id="search_term" onkeypress="if (((window.Event) ? event.which : event.keyCode) == 13) $(\'search_span_' + organizationID  + '\').onclick(); return true;" /> <span id="search_span_' + organizationID + '" onclick="tmp = $$(\'div#orgchartAreas_' + organizationID + ' a.destaque\'); if (tmp[0]) tmp[0].removeClassName(\'destaque\'); searchEmployee(' + organizationID + ', $(\'orgchartEmployees_' + organizationID + '\')); return false;">busca</span></a></li>'; 
     
    434434function loadAdds(eventName, organizationID) 
    435435{ 
     436        if (eventName == '' || eventName == undefined || eventName == null) 
     437                return false; 
     438 
    436439        window.settings = { functionName: eventName }; 
    437440 
Note: See TracChangeset for help on using the changeset viewer.