From 59dd6812317fe3afbba7d6d8a73744bab244a1ab Mon Sep 17 00:00:00 2001 From: Gabriel Fuentes Date: Mon, 14 Jan 2019 19:58:30 -0600 Subject: [PATCH] probando conexion5 --- .idea/workspace.xml | 53 ++++++++++++++------------------------------- js/main.js | 4 ++-- 2 files changed, 18 insertions(+), 39 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8163d17..bc5dc63 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -165,38 +165,17 @@ - + - - - - - - - - - - - - - - - - - - - - - - @@ -216,7 +195,7 @@ - + \ No newline at end of file diff --git a/js/main.js b/js/main.js index f9d50a7..9c3835d 100644 --- a/js/main.js +++ b/js/main.js @@ -11,10 +11,10 @@ jQuery(document).on('submit','#formlg',function(event){ } }) - + console.log("afuera de if"); .done(function (respuesta) { console.log(respuesta); - console.log("afuera de if"); + if (!respuesta.error){ console.log("despues de error"); if (respuesta.tipo == 'Jefatura')