Console.log
This commit is contained in:
parent
040785408c
commit
27bb3de75c
|
@ -55,7 +55,7 @@ class common
|
||||||
|
|
||||||
// URL autoupdate
|
// URL autoupdate
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
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
|
// URL langues de l'UI en ligne
|
||||||
const ZWII_UI_URL = 'https://forge.chapril.org/ZwiiCMS-Team/zwiicms-translations/raw/branch/master/';
|
const ZWII_UI_URL = 'https://forge.chapril.org/ZwiiCMS-Team/zwiicms-translations/raw/branch/master/';
|
||||||
|
|
|
@ -29,6 +29,10 @@ function step(i, data) {
|
||||||
}), 2e3)
|
}), 2e3)
|
||||||
},
|
},
|
||||||
error: function (xhr) {
|
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
|
// Appel de la fonction de gestion d'erreur
|
||||||
showError(i, xhr.responseText, errors);
|
showError(i, xhr.responseText, errors);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue