This commit is contained in:
Ross
2021-11-06 14:59:18 +00:00
parent 77d3f84e8a
commit 69a445ccbd
+4 -3
View File
@@ -141,7 +141,7 @@
} }
loadDicomViewerAndFileImages(); readFileAndProcess();
// Check if we have selected a examination type // Check if we have selected a examination type
if (!$("#id_examination_to option").length) { if (!$("#id_examination_to option").length) {
@@ -414,7 +414,7 @@
} }
} }
async function loadDicomViewerAndFileImages(callback) { async function readFileAndProcess(callback) {
//$("#single-dicom-viewer").empty() //$("#single-dicom-viewer").empty()
//images = [] //images = []
//Function that returns a promise to read the file //Function that returns a promise to read the file
@@ -469,7 +469,8 @@
} }
function loadViewer() { function loadViewer() {
//dicomViewer.loadCornerstone($("#single-dicom-viewer"), null, images, annotations); // temp fix before starting viewer collapsed
$("#single-dicom-viewer").show()
file_set = $("#image_form_set input[type=file]"); file_set = $("#image_form_set input[type=file]");
n = 0; n = 0;