Cleanup of old dev stuff

This commit is contained in:
Frank Schubert
2024-11-08 16:56:31 +01:00
parent 95e36d1626
commit bddc73ce79
6 changed files with 353 additions and 81 deletions

View File

@@ -960,13 +960,11 @@
const a = document.createElement('a');
a.style.display = 'none';
a.href = url;
// the filename you want
a.download = filename;
document.body.appendChild(a);
a.click();
window.URL.revokeObjectURL(url);
window.notify("success", "Download gestartet...");
//alert('your file has downloaded!'); // or you know, something with better UX...
})
.catch(() => {
window.notify("error", "Fehler beim Download des AH-Blatts");