This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2020-04-30 14:52:54 -07:00
parent 14a5e172d4
commit b339887f65
19 changed files with 2122 additions and 585 deletions

View File

@@ -7,11 +7,11 @@ conf = {
log: console.log,
warn: console.warn,
debug: console.debug
}
};
console.error = function (texto) {
loaderEnd();
setTimeout(function () { if (Metronic && Metronic.unblockUI) { Metronic.unblockUI(); } }, 10);
conf.error(texto);
}
};
function alertatoast(tipo,Mensaje,Funcion,timeout){
if (timeout) {
timeout = timeout * 1000;//convierto a milisegundos