From 4e769f546a07a56bd30293e4061628cd8b5f0e7f Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 11 Nov 2021 23:34:15 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index c904bbf0..bdca53a0 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -130,7 +130,6 @@ $(evt.target).removeClass("image-ident-ok"); - ocr(evt.target); el = evt.target; @@ -481,6 +480,9 @@ const element = $(``).get(0) $(el).parent().parent().prepend(element); + + ocr(el); + $("#drop-filenames").append( `${n}: ${el.files[0].name}` ) @@ -515,6 +517,7 @@ + active_file_inputs.delete(el) console.log("active", active_file_inputs) // Only load once all queued files have been processed