probando conexion5

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