From 7efa22c35f433fc9249f1caf687a5e2dcc41389b Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 29 Apr 2021 23:26:37 +0100 Subject: [PATCH] . --- anatomy/templates/anatomy/question_detail.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/anatomy/templates/anatomy/question_detail.html b/anatomy/templates/anatomy/question_detail.html index 88a51900..0b10f69f 100644 --- a/anatomy/templates/anatomy/question_detail.html +++ b/anatomy/templates/anatomy/question_detail.html @@ -84,13 +84,9 @@ }, type: "POST", dataType: "json", - statuCode: { - 403: function() { - toastr.warning('Error saving annotations (403 forbidden)') - } - }, error: function(e) { toastr.warning(`Error saving annotations (${e})`) + console.log(e); }, })