mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
Merge pull request #2497 from reecebrowne/File-input-append
Remove file input append
This commit is contained in:
commit
1862ab1671
@ -75,11 +75,6 @@
|
||||
// Check if any PDF files are encrypted and handle decryption if necessary
|
||||
const decryptedFiles = await checkAndDecryptFiles(url, files);
|
||||
files = decryptedFiles;
|
||||
formData.delete('fileInput'); // Reset fileInput and Append
|
||||
// Append decrypted files to formData
|
||||
decryptedFiles.forEach((file, index) => {
|
||||
formData.append(`fileInput`, file);
|
||||
});
|
||||
}
|
||||
|
||||
submitButton.textContent = 'Processing...';
|
||||
|
Loading…
Reference in New Issue
Block a user