This commit is contained in:
Ross
2021-10-31 23:29:14 +00:00
parent 6aa31fdb83
commit 0c1dfc863d
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ function loadDicomViewer(images_to_load, annotations_to_load) {
console.log("loadDicomViewer", images_to_load);
let single_dicom = document.getElementById("single-dicom-viewer");
if (single_dicom) {
$(single_dicom).empty()
let images = single_dicom.dataset.images;
if (images_to_load != undefined) {
+2 -2
View File
@@ -181,7 +181,7 @@
if (file_drop_number < 1) {
toastr.warning(`Drop failed (no files), try again.`);
} else {
toastr.warning(`Loading ${file_drop_number} dropped image(s).`);
toastr.info(`Loading ${file_drop_number} dropped image(s).`);
}
// Loop through each dropped file and try to assign to an
@@ -348,7 +348,7 @@
}
async function loadDicomViewerAndFileImages(callback) {
$("#single-dicom-viewer").empty()
//$("#single-dicom-viewer").empty()
//images = []
//Function that returns a promise to read the file
const reader = (file) => {
+1 -1
View File
@@ -177,7 +177,7 @@ function loadDicomViewer(images_to_load, annotations_to_load) {
console.log("loadDicomViewer", images_to_load);
let single_dicom = document.getElementById("single-dicom-viewer");
if (single_dicom) {
$(single_dicom).empty()
let images = single_dicom.dataset.images;
if (images_to_load != undefined) {