From 9c1bebdb58ea51bdbb17734e462a9857280bc188 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 7 Jan 2022 11:37:01 +0000 Subject: [PATCH] . --- templates/exam_overview_js.html | 6 ++++++ 1 file changed, 6 insertions(+) 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]'); })