.
This commit is contained in:
@@ -115,7 +115,7 @@
|
|||||||
// dT.items.add(evt.dataTransfer.files[3]);
|
// dT.items.add(evt.dataTransfer.files[3]);
|
||||||
// fileInput.files = dT.files;
|
// fileInput.files = dT.files;
|
||||||
|
|
||||||
loadDicomViewer();
|
loadDicomViewerAndFileImages();
|
||||||
|
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
evt.stopPropagation();
|
evt.stopPropagation();
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async function loadDicomViewer(callback) {
|
async function loadDicomViewerAndFileImages(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
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
|
|
||||||
function updateFileList() {
|
function updateFileList() {
|
||||||
$("#drop-filenames").empty()
|
$("#drop-filenames").empty()
|
||||||
|
$(".temp-thumb").remove()
|
||||||
$("#image_form_set input[type=file]").each((n, el) => {
|
$("#image_form_set input[type=file]").each((n, el) => {
|
||||||
console.log(el);
|
console.log(el);
|
||||||
if(el.files.length > 0) {
|
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()
|
$("#single-dicom-viewer").empty()
|
||||||
//images = []
|
//images = []
|
||||||
//Function that returns a promise to read the file
|
//Function that returns a promise to read the file
|
||||||
|
|||||||
Reference in New Issue
Block a user