.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user