Enable upload progress tracking in both file upload components

Pass track_progress: true to post_object so the XHR path fires live
percent_completed events, making the upload % display functional.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-05-07 17:46:42 -04:00
parent af74b52481
commit d9f704fe25
2 changed files with 2 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ async function handle_input_upload_files({
form_data: form_data,
timeout: 1200000, // 20 min — large video/audio files
task_id: task_id,
track_progress: true,
log_lvl: log_lvl
})
.then(function (result) {

View File

@@ -155,6 +155,7 @@ async function handle_input_upload_files({
form_data: form_data,
timeout: 1200000, // 20 minutes — large presentation files can be very slow to upload
task_id: task_id,
track_progress: true,
log_lvl: log_lvl
})
.then(async function (result) {