mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Enable download button functionality and improve error handling in file download
This commit is contained in:
@@ -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">→</button>
|
||||
|
||||
@@ -330,8 +330,8 @@ function sendSpeakerPackages(){
|
||||
|
||||
function fileDownload() {
|
||||
try {
|
||||
window.file_download.fileDownload();
|
||||
window.download.file_download();
|
||||
} catch (error) {
|
||||
|
||||
console.error("Download failed:", error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user