Re-add some lost comments

This commit is contained in:
Jake Lyell 2026-01-01 21:32:33 +11:00
parent 5c70ded54c
commit ae26ecf34a

View File

@ -869,6 +869,8 @@ function uploadFile() {
formData.append('file', file);
const xhr = new XMLHttpRequest();
// Include path as query parameter since multipart form data doesn't make
// form fields available until after file upload completes
xhr.open('POST', '/upload?path=' + encodeURIComponent(currentPath), true);
progressFill.style.width = '0%';