diff --git a/rapids/templates/rapids/exam_overview.html b/rapids/templates/rapids/exam_overview.html index cec014f0..1737f070 100644 --- a/rapids/templates/rapids/exam_overview.html +++ b/rapids/templates/rapids/exam_overview.html @@ -120,7 +120,9 @@ console.log(data); if (data.status == "success") { - toastr.info('Question access state changed.') + toastr.info('Question access state changed.'); + } else { + toastr.info(data.status); } }) .always(function () { @@ -142,7 +144,9 @@ console.log(data); if (data.status == "success") { - toastr.info('Question access state changed.') + toastr.info('Question access state changed.'); + } else { + toastr.info(data.status); } }) .always(function () {