Console.log

This commit is contained in:
Fred Tempez 2023-07-31 20:24:04 +02:00
parent 040785408c
commit 27bb3de75c
2 changed files with 5 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class common
// URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
const ZWII_UPDATE_CHANNEL = "v13";
const ZWII_UPDATE_CHANNEL = 'v13';
// URL langues de l'UI en ligne
const ZWII_UI_URL = 'https://forge.chapril.org/ZwiiCMS-Team/zwiicms-translations/raw/branch/master/';

View File

@ -29,6 +29,10 @@ function step(i, data) {
}), 2e3)
},
error: function (xhr) {
// Balance tout dans la console
console.log(i);
console.log(xhr.responseText);
console.log(errors);
// Appel de la fonction de gestion d'erreur
showError(i, xhr.responseText, errors);
}