notes: display error message when note saving fails.

This commit is contained in:
evazion
2017-04-28 21:37:14 -05:00
parent a3ecfdb79d
commit e8b9361226

View File

@@ -447,7 +447,7 @@ Danbooru.Note = {
},
error_handler: function(xhr, status, exception) {
Danbooru.error("There was an error saving the note");
Danbooru.error("Error: " + xhr.responseJSON.reasons.join("; "));
},
success_handler: function(data, status, xhr) {