diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 205abb0..bee1de1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -24,8 +24,8 @@ - - + + @@ -165,12 +165,12 @@ - + - @@ -280,8 +280,8 @@ - - + + diff --git a/js/main.js b/js/main.js index 60fed20..f9d50a7 100644 --- a/js/main.js +++ b/js/main.js @@ -14,12 +14,13 @@ jQuery(document).on('submit','#formlg',function(event){ .done(function (respuesta) { console.log(respuesta); - print("hola mundo =)"); + console.log("afuera de if"); if (!respuesta.error){ + console.log("despues de error"); if (respuesta.tipo == 'Jefatura') { //location.href = '132.248.80.188/Inventario/sitio/admin/admin.php'; - + console.log("jefatura"); } else if (respuesta.tipo == 'Area') {