From e311cb0b90a5edaa6cab67ee2778840b9d515dbf Mon Sep 17 00:00:00 2001 From: Gabriel Fuentes Date: Tue, 15 Jan 2019 16:27:33 -0600 Subject: [PATCH] probando conexion5 --- .idea/workspace.xml | 12 ++++++------ js/main.js | 5 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) 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')