We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3585439 commit 8d16574Copy full SHA for 8d16574
application/templates/entity.html
@@ -453,7 +453,6 @@ <h3 class="govuk-heading-s">{{ type|capitalize }}</h3>
453
const url = URL.createObjectURL(blob);
454
const a = document.createElement("a");
455
a.href = url;
456
- a.download = "geometry.json"; // Optional: specify the file name
457
document.body.appendChild(a);
458
a.click();
459
document.body.removeChild(a);
@@ -462,7 +461,6 @@ <h3 class="govuk-heading-s">{{ type|capitalize }}</h3>
462
461
URL.revokeObjectURL(url);
463
} catch (error) {
464
console.error("Error during download:", error);
465
- alert("An error occurred while downloading the file.");
466
} finally {
467
// Restore button and hide spinner
468
downloadButton.disabled = false;
0 commit comments