.
This commit is contained in:
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user