Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1248 | Rev 1250 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1248 Rev 1249
Línea 582... Línea 582...
582
    /**
582
    /**
583
     * On change selecte JobDescription
583
     * On change selecte JobDescription
584
     */
584
     */
585
    $('#job_description_id').on('change', function() {
585
    $('#job_description_id').on('change', function() {
586
        if ($("#job_description_id").val() != '') {
586
        if ($("#job_description_id").val() != '') {
587
            $.getJSON("/settings/jobs-description/edit/" + $("#job_description_id").val(), function(data) {
587
            $.getJSON("/settings/jobs-description/edit/" + $("#job_description_id").val(), function(response) {
588
                if (data['success']) {
588
                if (response['success']) {
589
                    competencies_type = response['data']['competency_types'];
589
                    competencies_type = response['data']['competency_types'];
590
                    renderCompetenciesData(data['data']['competencies_selected']);
590
                    renderCompetenciesData(response['data']['competencies_selected']);
591
                }
591
                }
592
            });
592
            });
593
        }
593
        }
594
    });
594
    });