closeModal() was setting pendingFile = null, then confirmSubmit() was trying to append the now-null pendingFile to FormData, causing 'No file uploaded' error on every submission. Fix: capture pendingFile into fileToSubmit before calling closeModal(). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| index.html | ||