Marthee commited on
Commit
5ca6b92
·
verified ·
1 Parent(s): 7870ae0

Update templates/proposed-GUI.html

Browse files
Files changed (1) hide show
  1. templates/proposed-GUI.html +3 -7
templates/proposed-GUI.html CHANGED
@@ -2009,18 +2009,14 @@ let selectedValues = []; // global
2009
  });
2010
  event.target.closest(".measure-item").style.backgroundColor = '#d3f8d3'; // Highlight the selected item
2011
  pdfname = selectedValue;
2012
- }
2013
- /////////////////////////////////////////////
2014
 
2015
- // Show alert immediately to prompt the user
2016
- if (projsec.value.startsWith('3.2') || projsec.value.startsWith('3.3') || projsec.value.startsWith('2.7')) {
2017
  // downloadPdf(selectedValue);
2018
  downloadPdf(selectedValue,'DXF_File_:'+selectedValue)
2019
  // 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.");
2020
  }
2021
- // else{
2022
- // 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.");
2023
- // }
2024
  canvasimg='';
2025
  ry=[[]];
2026
  levelcheckbox.checked=false;
 
2009
  });
2010
  event.target.closest(".measure-item").style.backgroundColor = '#d3f8d3'; // Highlight the selected item
2011
  pdfname = selectedValue;
 
 
2012
 
2013
+ if (projsec.value.startsWith('3.2') || projsec.value.startsWith('3.3') || projsec.value.startsWith('2.7')) {
 
2014
  // downloadPdf(selectedValue);
2015
  downloadPdf(selectedValue,'DXF_File_:'+selectedValue)
2016
  // 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.");
2017
  }
2018
+ }
2019
+ /////////////////////////////////////////////
 
2020
  canvasimg='';
2021
  ry=[[]];
2022
  levelcheckbox.checked=false;