probando conexion5

This commit is contained in:
2019-01-14 19:42:36 -06:00
parent ef7a0f86f2
commit ca5541f826
2 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -14,14 +14,14 @@ jQuery(document).on('submit','#formlg',function(event){
.done(function (respuesta) {
console.log(respuesta);
print("hola mundo =)");
if (!respuesta.error){
if (respuesta.perfil == 'Jefatura')
if (respuesta.tipo == 'Jefatura')
{
//location.href = '132.248.80.188/Inventario/sitio/admin/admin.php';
print("hola mundo =)");
}
else if (respuesta.perfil == 'Area')
else if (respuesta.tipo == 'Area')
{
location.href = '132.248.80.188/Inventario/sitio/usuario/usuario.php';
}