From 69a445ccbd72e5cf0b9444e23e804a2c92a7e163 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 6 Nov 2021 14:59:18 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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;