diff --git a/templates/exam_overview_js.html b/templates/exam_overview_js.html index d9c1da69..f2cad323 100644 --- a/templates/exam_overview_js.html +++ b/templates/exam_overview_js.html @@ -22,6 +22,9 @@ // show some message according to the response. // For eg. A message box showing that the status has been changed }) + .done(function (data) { + toastr.error(`Failed to change state`); + }) .always(function () { console.log('[Done]'); }) @@ -47,6 +50,9 @@ // show some message according to the response. // For eg. A message box showing that the status has been changed }) + .done(function (data) { + toastr.error(`Failed to change state`); + }) .always(function () { console.log('[Done]'); })