(Put the log after the flash in case the console.log fails for some reason)

This commit is contained in:
Alexandre Aubin 2018-08-04 15:15:32 +02:00 committed by GitHub
parent 7db903e7c8
commit e113c56cae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,8 +137,8 @@
// Return HTTP error code at least
else {
var errorMessage = xhr.status+' '+xhr.statusText;
console.log(xhr);
c.flash('fail', y18n.t('error_server_unexpected', [errorMessage]));
console.log(xhr);
}
// Remove loader if any