This commit is contained in:
Simon Vieille 2016-11-23 21:00:23 +01:00
parent 3a85b7c12b
commit e1674659a7

View file

@ -44,7 +44,7 @@
name: name, name: name,
} }
}).done(function(response) { }).done(function(response) {
$('#response').text(JSON.stringify(response, true)); $('#response').text(JSON.stringify(response));
listCategories(); listCategories();
}).fail(function(response) { }).fail(function(response) {
$('#response').text(JSON.stringify(response.responseJSON, null, 4)); $('#response').text(JSON.stringify(response.responseJSON, null, 4));