Marthee commited on
Commit
2789126
·
verified ·
1 Parent(s): e6ca133

Update templates/proposed-GUI.html

Browse files
Files changed (1) hide show
  1. templates/proposed-GUI.html +3 -3
templates/proposed-GUI.html CHANGED
@@ -1307,7 +1307,7 @@ document.getElementById('pdftodxfFile').addEventListener('input',function(){
1307
  });
1308
 
1309
  function getData(form) {
1310
- console.log('clicked')
1311
  document.getElementById("loading").hidden = false;
1312
 
1313
  document.getElementById('measureADRbutton').setAttribute('disabled',true);
@@ -1320,7 +1320,7 @@ function getData(form) {
1320
  var rightside=document.getElementById('rightside');
1321
  var formData = new FormData(form);
1322
 
1323
- // clearInterval(interval)
1324
  val=0;
1325
  answers=[];
1326
  var ratio1=0;
@@ -1541,7 +1541,7 @@ function getData(form) {
1541
 
1542
  if (formvalues['selectprojs'].startsWith('1.0') || formvalues['selectprojs'].startsWith('3.2') )
1543
  {// Set the interval in milliseconds
1544
- const interval = 30000;
1545
  const initialDelay = 0;
1546
  console.log('Starting first AJAX request...');
1547
  let delrows1=0; // Define delrows1 in a broader scope
 
1307
  });
1308
 
1309
  function getData(form) {
1310
+
1311
  document.getElementById("loading").hidden = false;
1312
 
1313
  document.getElementById('measureADRbutton').setAttribute('disabled',true);
 
1320
  var rightside=document.getElementById('rightside');
1321
  var formData = new FormData(form);
1322
 
1323
+ clearInterval(interval)
1324
  val=0;
1325
  answers=[];
1326
  var ratio1=0;
 
1541
 
1542
  if (formvalues['selectprojs'].startsWith('1.0') || formvalues['selectprojs'].startsWith('3.2') )
1543
  {// Set the interval in milliseconds
1544
+ const interval = 20000;
1545
  const initialDelay = 0;
1546
  console.log('Starting first AJAX request...');
1547
  let delrows1=0; // Define delrows1 in a broader scope