Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 3875 Rev 3876
Línea 481... Línea 481...
481
        }).done(function (response) {
481
        }).done(function (response) {
482
            if (response['success']) {
482
            if (response['success']) {
483
                $('#form-add #user_id').val(response['data']['user_id']);
483
                $('#form-add #user_id').val(response['data']['user_id']);
484
                $('#form-add #first_name').val(response['data']['first_name']);
484
                $('#form-add #first_name').val(response['data']['first_name']);
485
                $('#form-add #last_name').val(response['data']['last_name']);
485
                $('#form-add #last_name').val(response['data']['last_name']);
486
                $('#form-add #first_name').prop("disabled", true);
486
               // $('#form-add #first_name').prop("disabled", true);
487
                $('#form-add #last_name').prop('disabled', true);
487
               // $('#form-add #last_name').prop('disabled', true);
488
            } else {
488
            } else {
489
                $.fn.showError(response['data']);
489
                $.fn.showError(response['data']);
490
            }
490
            }
491
        }).fail(function (jqXHR, textStatus, errorThrown) {
491
        }).fail(function (jqXHR, textStatus, errorThrown) {
492
            $.fn.showError(textStatus);
492
            $.fn.showError(textStatus);