From ae5687b2e5d562a9792dfbc07fdb6f5fb2e3dcf3 Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 1 Dec 2021 20:39:56 +0000 Subject: [PATCH] . --- atlas/templates/atlas/series_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/templates/atlas/series_form.html b/atlas/templates/atlas/series_form.html index cc3559bf..e169aff6 100755 --- a/atlas/templates/atlas/series_form.html +++ b/atlas/templates/atlas/series_form.html @@ -206,7 +206,7 @@ const readFile = (file, el) => { reader(file).then(reader => { console.log("hello", file, el, image) - if (!$("#id_examination").find(":selected").length) { + if ($("#id_examination").find(":selected")[0].dataset.select2Id == "2") { var byteArray = new Uint8Array(reader.result); console.log("etrxact") extractDicomStudyDescription(byteArray);