From 714c8193e481f017af88cf0e2cd15fd8187ac116 Mon Sep 17 00:00:00 2001 From: Gabriel Fuentes Date: Mon, 14 Jan 2019 20:17:16 -0600 Subject: [PATCH] probando conexion5 --- .idea/workspace.xml | 36 +++++++++++++++++++++--------------- js/main.js | 4 +--- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5109122..5417257 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -123,6 +123,12 @@ + + + + + + @@ -180,12 +186,12 @@ - + - @@ -286,13 +292,6 @@ - - - - - - - @@ -300,5 +299,12 @@ + + + + + + + \ No newline at end of file diff --git a/js/main.js b/js/main.js index da79024..83eb2c9 100644 --- a/js/main.js +++ b/js/main.js @@ -14,11 +14,9 @@ jQuery(document).on('submit','#formlg',function(event){ console.log(respuesta); if (!respuesta.error){ - console.log("despues de error"); if (respuesta.perfil == 'Jefatura') { - //location.href = '132.248.80.188/Inventario/sitio/admin/admin.php'; - console.log("jefatura"); + location.href = 'sitio/admin/admin.php' } else if (respuesta.perfil == 'Area') {