Skip to content

Commit 54256c8

Browse files
authored
Merge pull request #217 from communitiesuk/bugfix/parallel-file-uploads-not-marked-as-complete
Bugfix - Ensure all file uploads correctly marked as complete when multiple files are uploaded in parallel
2 parents 65f9dad + af16418 commit 54256c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/src/server/plugins/engine/views/components/clientsidefileuploadfield.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ <h2 class="govuk-error-summary__title" id="error-summary-title">
407407
const updateProgressBarContent = (file, text) => {
408408
let tableFileUploadStatusIndicatorArea = file.previewElement.querySelector('.dz-progress-bar');
409409
if (!tableFileUploadStatusIndicatorArea) {
410-
tableFileUploadStatusIndicatorArea = document.querySelector('[data-dz-uploadprogress]');
410+
tableFileUploadStatusIndicatorArea = file.previewElement.querySelector('[data-dz-uploadprogress]');
411411
if (tableFileUploadStatusIndicatorArea !== null) {
412412
tableFileUploadStatusIndicatorArea.textContent = text;
413413
}

0 commit comments

Comments
 (0)