Marthee commited on
Commit
c18092e
·
verified ·
1 Parent(s): 8c19f52

Update templates/proposed-GUI.html

Browse files
Files changed (1) hide show
  1. templates/proposed-GUI.html +3 -2
templates/proposed-GUI.html CHANGED
@@ -1960,7 +1960,8 @@ let selectedValues = []; // global
1960
  // Action for when the checkbox is clicked
1961
 
1962
  function handleCheckboxChange(event) {
1963
- if (!(projsec.value.startsWith('2.6') || projsec.value.startsWith('2.8'))) {
 
1964
  // Uncheck all checkboxes before checking the current one
1965
  document.querySelectorAll('input[name="measureCheckbox"]').forEach(checkbox => {
1966
  if (checkbox !== event.target) {
@@ -1968,7 +1969,7 @@ let selectedValues = []; // global
1968
  }
1969
  });
1970
 
1971
-
1972
  // Check the current checkbox
1973
  const selectedCheckboxes = Array.from(document.querySelectorAll('input[name="measureCheckbox"]:checked'));
1974
  selectedValues = selectedCheckboxes.map(cb => cb.value);
 
1960
  // Action for when the checkbox is clicked
1961
 
1962
  function handleCheckboxChange(event) {
1963
+ if (projsec.value.startsWith('2.6') || projsec.value.startsWith('2.8')) {
1964
+ // if (!(projsec.value.startsWith('2.6') || projsec.value.startsWith('2.8'))) {
1965
  // Uncheck all checkboxes before checking the current one
1966
  document.querySelectorAll('input[name="measureCheckbox"]').forEach(checkbox => {
1967
  if (checkbox !== event.target) {
 
1969
  }
1970
  });
1971
 
1972
+ // }
1973
  // Check the current checkbox
1974
  const selectedCheckboxes = Array.from(document.querySelectorAll('input[name="measureCheckbox"]:checked'));
1975
  selectedValues = selectedCheckboxes.map(cb => cb.value);