This commit is contained in:
Ross
2021-10-30 23:47:22 +01:00
parent bffe45781c
commit 0bd377b326
+2 -2
View File
@@ -206,7 +206,7 @@
if (!normal) {
if ($('#id_answers-TOTAL_FORMS').val() == "0") {
add_answers_input_form();
alert("Please add an answer")
toastr.error(`Please enter an answers (or select Normal)`);
evt.preventDefault();
}
@@ -214,7 +214,7 @@
if (!$("#id_examination_to option").length) {
alert("Please add examination type")
toastr.rerror("Please add examination type")
evt.preventDefault();
}