probando conexion5

This commit is contained in:
2019-01-14 19:48:35 -06:00
parent ca5541f826
commit 37e2727faa
2 changed files with 9 additions and 8 deletions
+6 -6
View File
@@ -24,8 +24,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/js/main.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="309">
<caret line="21" column="24" selection-start-line="21" selection-start-column="24" selection-end-line="21" selection-end-column="24" />
<state relative-caret-position="484">
<caret line="22" column="45" selection-start-line="22" selection-start-column="45" selection-end-line="22" selection-end-column="45" />
</state>
</provider>
</entry>
@@ -165,12 +165,12 @@
<workItem from="1547170217131" duration="2586000" />
<workItem from="1547236861734" duration="11265000" />
<workItem from="1547503840895" duration="2199000" />
<workItem from="1547508488120" duration="4736000" />
<workItem from="1547508488120" duration="5100000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="44982000" />
<option name="totallyTimeSpent" value="45346000" />
</component>
<component name="ToolWindowManager">
<frame x="1358" y="-8" width="1296" height="1010" extended-state="6" />
@@ -280,8 +280,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/js/main.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="309">
<caret line="21" column="24" selection-start-line="21" selection-start-column="24" selection-end-line="21" selection-end-column="24" />
<state relative-caret-position="484">
<caret line="22" column="45" selection-start-line="22" selection-start-column="45" selection-end-line="22" selection-end-column="45" />
</state>
</provider>
</entry>
+3 -2
View File
@@ -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')
{