Spaces:
Sleeping
Sleeping
Update templates/proposed-GUI.html
Browse files
templates/proposed-GUI.html
CHANGED
|
@@ -1014,6 +1014,7 @@ worker.onmessage= function(event){
|
|
| 1014 |
//___________________________________________________________________________________________________________
|
| 1015 |
// /*Retrieve MCTNAMES Dictionary from API - Flask*/
|
| 1016 |
var mctnameEmpty=false;
|
|
|
|
| 1017 |
function getALLMCTNAMES(){
|
| 1018 |
MCTNames={}
|
| 1019 |
document.getElementById("all").style.display = "block";
|
|
@@ -1022,7 +1023,7 @@ $.get( '/RetrieveMCTNames/')
|
|
| 1022 |
// document.getElementById("all").style.display = "none";
|
| 1023 |
console.log(data)
|
| 1024 |
MCTNames=data;
|
| 1025 |
-
|
| 1026 |
console.log(sectionNumber);
|
| 1027 |
|
| 1028 |
// Find the first key in MCTNames that starts with sectionNumber
|
|
|
|
| 1014 |
//___________________________________________________________________________________________________________
|
| 1015 |
// /*Retrieve MCTNAMES Dictionary from API - Flask*/
|
| 1016 |
var mctnameEmpty=false;
|
| 1017 |
+
var sectionNumber;
|
| 1018 |
function getALLMCTNAMES(){
|
| 1019 |
MCTNames={}
|
| 1020 |
document.getElementById("all").style.display = "block";
|
|
|
|
| 1023 |
// document.getElementById("all").style.display = "none";
|
| 1024 |
console.log(data)
|
| 1025 |
MCTNames=data;
|
| 1026 |
+
sectionNumber = projsec.value.split(" ")[0]; // Get first item after splitting by space
|
| 1027 |
console.log(sectionNumber);
|
| 1028 |
|
| 1029 |
// Find the first key in MCTNames that starts with sectionNumber
|