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>
|
||||||
|
|
||||||
<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">→</button>
|
<button id ="nextBtn" class="navBtn">→</button>
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user