diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 0ef62a9b..c8d606ce 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -141,7 +141,7 @@ } - loadDicomViewerAndFileImages(); + readFileAndProcess(); // Check if we have selected a examination type if (!$("#id_examination_to option").length) { @@ -414,7 +414,7 @@ } } - async function loadDicomViewerAndFileImages(callback) { + async function readFileAndProcess(callback) { //$("#single-dicom-viewer").empty() //images = [] //Function that returns a promise to read the file @@ -469,7 +469,8 @@ } 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]"); n = 0;