probando conexion5
This commit is contained in:
+2
-2
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user