This commit is contained in:
Ross
2021-10-31 00:01:05 +01:00
parent 09b31be9f6
commit 22e161e1b4
+20 -3
View File
@@ -215,9 +215,26 @@
if (!$("#id_examination_to option").length) {
toastr.error("Please add examination type")
evt.preventDefault();
toastr.error("Please add examination type")
evt.preventDefault();
}
toastr.info(`Submiting question... please wait`, {
"closeButton": false,
"debug": false,
"newestOnTop": false,
"progressBar": true,
"positionClass": "toast-top-full-width",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
});
})
@@ -396,7 +413,7 @@
// try to match with a study description
option = $(`#id_examination_from option[title*='${study_description}' i]`);
if (option.length) {
option.appendTo($("#id_examination_to"));
toastr.success(`Examination set to ${option.attr('title')} from dicom data`);