Spaces:
Sleeping
Sleeping
Update templates/proposed-GUI.html
Browse files
templates/proposed-GUI.html
CHANGED
|
@@ -1189,10 +1189,11 @@ function getSelectValues(select) {
|
|
| 1189 |
|
| 1190 |
pixelArr=[projname.value, projpart.value,projsec.value, pdfname]
|
| 1191 |
// Open popup immediately before initiating the PDF download
|
| 1192 |
-
|
| 1193 |
|
| 1194 |
// Show alert immediately to prompt the user
|
| 1195 |
if (projsec.value.startsWith('3.2') || projsec.value.startsWith('3.3')) {
|
|
|
|
| 1196 |
window.alert("Measure the purple shape drawn on the PDF using Foxit Reader, Bluebeam, or any other external tool, then enter its area and perimeter in your desired scale.");
|
| 1197 |
}
|
| 1198 |
|
|
|
|
| 1189 |
|
| 1190 |
pixelArr=[projname.value, projpart.value,projsec.value, pdfname]
|
| 1191 |
// Open popup immediately before initiating the PDF download
|
| 1192 |
+
|
| 1193 |
|
| 1194 |
// Show alert immediately to prompt the user
|
| 1195 |
if (projsec.value.startsWith('3.2') || projsec.value.startsWith('3.3')) {
|
| 1196 |
+
downloadPdf(pdfname);
|
| 1197 |
window.alert("Measure the purple shape drawn on the PDF using Foxit Reader, Bluebeam, or any other external tool, then enter its area and perimeter in your desired scale.");
|
| 1198 |
}
|
| 1199 |
|