This commit is contained in:
Ross
2021-10-30 10:00:52 +01:00
parent f294cf724b
commit 18e7b4c028
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -115,7 +115,7 @@
// dT.items.add(evt.dataTransfer.files[3]);
// fileInput.files = dT.files;
loadDicomViewer();
loadDicomViewerAndFileImages();
evt.preventDefault();
evt.stopPropagation();
@@ -217,7 +217,7 @@
}
async function loadDicomViewer(callback) {
async function loadDicomViewerAndFileImages(callback) {
$("#single-dicom-viewer").empty()
//images = []
//Function that returns a promise to read the file
+3 -2
View File
@@ -50,6 +50,7 @@
function updateFileList() {
$("#drop-filenames").empty()
$(".temp-thumb").remove()
$("#image_form_set input[type=file]").each((n, el) => {
console.log(el);
if(el.files.length > 0) {
@@ -64,7 +65,7 @@
)
}
})
loadDicomViewer();
loadDicomViewerAndFileImages();
}
@@ -236,7 +237,7 @@
}
}
async function loadDicomViewer(callback) {
async function loadDicomViewerAndFileImages(callback) {
$("#single-dicom-viewer").empty()
//images = []
//Function that returns a promise to read the file