diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2f88dee..999155a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -24,8 +24,8 @@ - - + + @@ -196,12 +196,12 @@ - + - @@ -311,8 +311,8 @@ - - + + diff --git a/js/main.js b/js/main.js index cfa5d2a..bbd1e70 100644 --- a/js/main.js +++ b/js/main.js @@ -12,11 +12,12 @@ jQuery(document).on('submit','#formlg',function(event){ }) .done(function (respuesta) { console.log(respuesta); - + console.log("fuera"); if (!respuesta.error){ if (respuesta.perfil == 'Jefatura') { - location.href = 'orion.acatlan.unam.mx/Inventario/sitio/admin/admin.php'; + console.log("dentor"); + //location.href = 'orion.acatlan.unam.mx/Inventario/sitio/admin/admin.php'; } else if (respuesta.perfil == 'Area')