Enable download button functionality and improve error handling in file download

This commit is contained in:
MikeHughes-BIN
2025-12-15 18:41:14 +01:00
parent cd474d7101
commit 6aa62ed534
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -147,8 +147,7 @@
</div>
<div class="step" id="step6" style="display:none;">
<button class="download-btn" id="downloadButton" disabled>Download</button>
</div>
<button class="download-btn" id="downloadButton" onclick="fileDownload()">Download</button>
</div>
<button id ="nextBtn" class="navBtn">&rarr;</button>
+2 -2
View File
@@ -330,8 +330,8 @@ function sendSpeakerPackages(){
function fileDownload() {
try {
window.file_download.fileDownload();
window.download.file_download();
} catch (error) {
console.error("Download failed:", error);
}
}