Spaces:
Sleeping
Sleeping
Update templates/proposed-GUI.html
Browse files
templates/proposed-GUI.html
CHANGED
|
@@ -1989,7 +1989,8 @@ let selectedValues = []; // global
|
|
| 1989 |
console.log("Selected projects:", selectedValues);
|
| 1990 |
}
|
| 1991 |
////////////////////////////////////////
|
| 1992 |
-
|
|
|
|
| 1993 |
checkbox.checked = false;
|
| 1994 |
});
|
| 1995 |
|
|
@@ -2006,7 +2007,7 @@ let selectedValues = []; // global
|
|
| 2006 |
item.style.backgroundColor = ''; // Reset background color for all items
|
| 2007 |
});
|
| 2008 |
event.target.closest(".measure-item").style.backgroundColor = '#d3f8d3'; // Highlight the selected item
|
| 2009 |
-
|
| 2010 |
/////////////////////////////////////////////
|
| 2011 |
|
| 2012 |
// Show alert immediately to prompt the user
|
|
|
|
| 1989 |
console.log("Selected projects:", selectedValues);
|
| 1990 |
}
|
| 1991 |
////////////////////////////////////////
|
| 1992 |
+
else{
|
| 1993 |
+
document.querySelectorAll('input[name="measureCheckbox"]').forEach(checkbox => {
|
| 1994 |
checkbox.checked = false;
|
| 1995 |
});
|
| 1996 |
|
|
|
|
| 2007 |
item.style.backgroundColor = ''; // Reset background color for all items
|
| 2008 |
});
|
| 2009 |
event.target.closest(".measure-item").style.backgroundColor = '#d3f8d3'; // Highlight the selected item
|
| 2010 |
+
}
|
| 2011 |
/////////////////////////////////////////////
|
| 2012 |
|
| 2013 |
// Show alert immediately to prompt the user
|