Merge branch 'fix/download-button' into 'develop'

Enable download button functionality and improve error handling in file download

See merge request proj-wise2526-video2document/video2document!52
This commit is contained in:
Hughes, Mike
2025-12-15 18:43:50 +01:00
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -147,8 +147,7 @@
</div> </div>
<div class="step" id="step6" style="display:none;"> <div class="step" id="step6" style="display:none;">
<button class="download-btn" id="downloadButton" disabled>Download</button> <button class="download-btn" id="downloadButton" onclick="fileDownload()">Download</button>
</div>
</div> </div>
<button id ="nextBtn" class="navBtn">&rarr;</button> <button id ="nextBtn" class="navBtn">&rarr;</button>
+3 -3
View File
@@ -328,10 +328,10 @@ function sendSpeakerPackages(){
} }
} }
function fileDownload(){ function fileDownload() {
try { try {
window.file_download.fileDownload(); window.download.file_download();
} catch (error) { } catch (error) {
console.error("Download failed:", error);
} }
} }