08.10.2026 - changed to variables to english
This commit is contained in:
@@ -81,7 +81,7 @@ function projectSearch(){
|
||||
textMatch = true;
|
||||
}
|
||||
|
||||
if(selectedLanguage === "Alle")
|
||||
if(selectedLanguage === "all")
|
||||
{
|
||||
languageMatch = true;
|
||||
}
|
||||
@@ -148,14 +148,14 @@ function exportProjects(){
|
||||
|
||||
// 1. Text holen ueber buildExportText(foundProjects)
|
||||
// 2. let blob = new Blob([text], { type: "text/plain" });
|
||||
// 3. let adresse = URL.createObjectURL(blob);
|
||||
// 4. ein <a> anlegen, href = adresse, download = "projekte.txt", click()
|
||||
// 5. URL.revokeObjectURL(adresse);
|
||||
let adress = URL.createObjectURL(new Blob(["bla"], { type: "text/plain" }));
|
||||
// 3. let address = URL.createObjectURL(blob);
|
||||
// 4. ein <a> anlegen, href = address, download = "projekte.txt", click()
|
||||
// 5. URL.revokeObjectURL(address);
|
||||
let address = URL.createObjectURL(new Blob(["bla"], { type: "text/plain" }));
|
||||
let link = document.createElement("a");
|
||||
link.href = adress;
|
||||
link.href = address;
|
||||
link.download = "projekte.txt";
|
||||
link.click();
|
||||
link.remove();
|
||||
URL.revokeObjectURL(adress);
|
||||
URL.revokeObjectURL(address);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user