mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Meeting Report Types connected from Backend to frontend
This commit is contained in:
+10
-1
@@ -28,6 +28,7 @@ function checkBoxes() {
|
||||
document.getElementById("progressbar").style.visibility = "visible";
|
||||
//assembly of the json for the main
|
||||
|
||||
/*
|
||||
const selectedStyles = [checkedCounter];
|
||||
var iter = 0;
|
||||
checkboxes.forEach(function(checkbox){
|
||||
@@ -37,6 +38,13 @@ function checkBoxes() {
|
||||
iter++;
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
function getSelectedDocumentType() {
|
||||
const checked = document.querySelector('input[name="docFormat"]:checked');
|
||||
return checked ? checked.value : null;
|
||||
}
|
||||
|
||||
document.getElementById("testy").style.visibility = "visible"
|
||||
document.getElementById("box1").style.backgroundColor = "red";
|
||||
document.getElementById("box2").style.backgroundColor = "red";
|
||||
@@ -57,7 +65,8 @@ function checkBoxes() {
|
||||
},
|
||||
"document": {
|
||||
"module":aiType.value,
|
||||
"styles": selectedStyles
|
||||
"type": getSelectedDocumentType()
|
||||
//"styles": selectedStyles
|
||||
}
|
||||
};
|
||||
window.submit.submit(sendingPackage)
|
||||
|
||||
Reference in New Issue
Block a user