Commit 6b5b9e84 by Alonso Moreno Postigo

[DELETE] mensajes

parent ad30aefe
...@@ -94,8 +94,6 @@ function registrarPersona() { ...@@ -94,8 +94,6 @@ function registrarPersona() {
var status = data.status; var status = data.status;
if (status) { if (status) {
imprimirAlerta('Correcto!', data.message, 'success'); imprimirAlerta('Correcto!', data.message, 'success');
// var table = $('#tabla_persona').DataTable();
// table.ajax.reload();
recargarTabla(); recargarTabla();
$('#modal_registrar_persona').modal('hide'); $('#modal_registrar_persona').modal('hide');
} else { } else {
...@@ -500,11 +498,4 @@ function initInputs() { ...@@ -500,11 +498,4 @@ function initInputs() {
var txt_correo = $('#txt_correo'); var txt_correo = $('#txt_correo');
var dominio_correo = '.TI@SACOOLIVEROS.EDU.PE'; var dominio_correo = '.TI@SACOOLIVEROS.EDU.PE';
// txt_correo.attr({
// disabled: true
// });
} }
\ No newline at end of file
...@@ -36,7 +36,6 @@ function listarDepartamento() { ...@@ -36,7 +36,6 @@ function listarDepartamento() {
$('#select_departamento').html(select_departamento); $('#select_departamento').html(select_departamento);
$('#select_departamento').selectpicker('refresh'); $('#select_departamento').selectpicker('refresh');
} else { } else {
console.log('no hay data prro');
} }
}, },
complete: function (jqXHR, textStatus) { complete: function (jqXHR, textStatus) {
...@@ -71,7 +70,6 @@ function listarProvincia() { ...@@ -71,7 +70,6 @@ function listarProvincia() {
$('#select_provincia').html(select_provincia); $('#select_provincia').html(select_provincia);
$('#select_provincia').selectpicker('refresh'); $('#select_provincia').selectpicker('refresh');
} else { } else {
console.log('no hay data prro');
} }
}, },
complete: function (jqXHR, textStatus) { complete: function (jqXHR, textStatus) {
...@@ -106,7 +104,6 @@ function listarDistrito() { ...@@ -106,7 +104,6 @@ function listarDistrito() {
$('#select_distrito').html(select_distrito); $('#select_distrito').html(select_distrito);
$('#select_distrito').selectpicker('refresh'); $('#select_distrito').selectpicker('refresh');
} else { } else {
console.log('no hay data prro');
} }
}, },
complete: function (jqXHR, textStatus) { complete: function (jqXHR, textStatus) {
...@@ -119,7 +116,6 @@ function listarDistrito() { ...@@ -119,7 +116,6 @@ function listarDistrito() {
function validarSelect() { function validarSelect() {
$('#select_departamento').on('change', function () { $('#select_departamento').on('change', function () {
// debugger;
var select_departamento = $('#select_departamento').val(); var select_departamento = $('#select_departamento').val();
if (select_departamento === '0') { if (select_departamento === '0') {
$('#select_provincia').html('<option value="0">[ SELECCIONE ]</option>'); $('#select_provincia').html('<option value="0">[ SELECCIONE ]</option>');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment