Skip to content

Commit

Permalink
Update Admin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leoBergerot authored Nov 5, 2020
1 parent fd33b53 commit 40f977c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/public/Admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ var Admin = {
.replaceWith(html);
},
error: function(xhr, statusText, errorThrown) {
if (xhr.status === 400){
if (xhr.status === 400 || xhr.status === 403 || xhr.status === 404 || xhr.status === 405){
return JSON.parse(xhr.responseText);
}

Expand Down

0 comments on commit 40f977c

Please sign in to comment.