Make it faster
This commit is contained in:
@@ -44,7 +44,7 @@ if (urlParams.get("sublogin") != null) {
|
||||
SUB_LOGGED_IN_DETAILS = true;
|
||||
setInterval(() => {
|
||||
SUB_LOGGED_IN_DETAILS = SC_Personas[SUB_LOGGED_IN_ID];
|
||||
}, 1500);
|
||||
}, 7500;
|
||||
}
|
||||
function LogOutTeleSec() {
|
||||
SUB_LOGGED_IN = false;
|
||||
|
||||
@@ -230,7 +230,7 @@ PAGES.aulas = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("aulas,solicitudes");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_borrar).onclick = () => {
|
||||
@@ -239,7 +239,7 @@ PAGES.aulas = {
|
||||
toastr.error("Borrado!");
|
||||
setTimeout(() => {
|
||||
setUrlHash("aulas,solicitudes");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
@@ -366,7 +366,7 @@ PAGES.aulas = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("aulas,informes");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_borrar).onclick = () => {
|
||||
@@ -375,7 +375,7 @@ PAGES.aulas = {
|
||||
toastr.error("Borrado!");
|
||||
setTimeout(() => {
|
||||
setUrlHash("aulas,informes");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
@@ -158,7 +158,7 @@ PAGES.avisos = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("avisos");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_borrar).onclick = () => {
|
||||
@@ -167,7 +167,7 @@ PAGES.avisos = {
|
||||
toastr.error("Borrado!");
|
||||
setTimeout(() => {
|
||||
setUrlHash("avisos");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
@@ -199,7 +199,7 @@ PAGES.buscar = {
|
||||
if (searchInputEl.value.trim().length >= 2) {
|
||||
performSearch();
|
||||
}
|
||||
}, 1500);
|
||||
}, 1501);
|
||||
};
|
||||
|
||||
// Focus on search input
|
||||
|
||||
@@ -66,7 +66,7 @@ PAGES.comedor = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("comedor");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_borrar).onclick = () => {
|
||||
@@ -75,7 +75,7 @@ PAGES.comedor = {
|
||||
toastr.error("Borrado!");
|
||||
setTimeout(() => {
|
||||
setUrlHash("comedor");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
@@ -98,7 +98,7 @@ PAGES.materiales = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("materiales");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_borrar).onclick = () => {
|
||||
@@ -107,7 +107,7 @@ PAGES.materiales = {
|
||||
toastr.error("Borrado!");
|
||||
setTimeout(() => {
|
||||
setUrlHash("materiales");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
@@ -93,7 +93,7 @@ PAGES.notas = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("notas");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_borrar).onclick = () => {
|
||||
@@ -102,7 +102,7 @@ PAGES.notas = {
|
||||
toastr.error("Borrado!");
|
||||
setTimeout(() => {
|
||||
setUrlHash("notas");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
@@ -498,7 +498,7 @@ PAGES.pagos = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("pagos," + ticketId);
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1337,7 +1337,7 @@ PAGES.pagos = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("pagos," + transactionId);
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ PAGES.personas = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("personas");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_ver_monedero).onclick = () => {
|
||||
@@ -160,7 +160,7 @@ PAGES.personas = {
|
||||
toastr.error("Borrado!");
|
||||
setTimeout(() => {
|
||||
setUrlHash("personas");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
@@ -126,7 +126,7 @@ PAGES.supercafe = {
|
||||
setTimeout(() => {
|
||||
document.getElementById("actionStatus").style.display = "none";
|
||||
setUrlHash("supercafe");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
});
|
||||
};
|
||||
document.getElementById(btn_borrar).onclick = () => {
|
||||
@@ -138,7 +138,7 @@ PAGES.supercafe = {
|
||||
betterGunPut(gun.get(TABLE).get("supercafe").get(mid), null);
|
||||
setTimeout(() => {
|
||||
setUrlHash("supercafe");
|
||||
}, 1500);
|
||||
}, 750);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user