correction js

This commit is contained in:
Aurélien Delobelle 2016-08-14 20:27:13 +02:00
parent 2c0bfd90e0
commit 618f89525e

View file

@ -265,7 +265,7 @@ $(document).ready(function() {
.done(function(data) {
console.log(data);
})
.always(function($xhr) {
.fail(function($xhr) {
var data = $xhr.responseJSON;
console.log(data);
});