mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
fixed textArea bug
This commit is contained in:
parent
9562cc594f
commit
6dbdfe00fc
@ -356,7 +356,7 @@ function subReport() {
|
||||
var name = x[i].children[0].id;
|
||||
push[`${series}-${user.uid.toString()}`.toString()][name] = document.querySelector('input[name="' + name + '"]:checked').value;
|
||||
} else if (x[i].children[1].tagName == "TEXTAREA") {
|
||||
push[`${series}-${user.uid.toString()}`.toString()][x[i].children[1].id] = x[i].children[1].innerHTML;
|
||||
push[`${series}-${user.uid.toString()}`.toString()][x[i].children[1].id] = x[i].children[1].value;
|
||||
}
|
||||
}
|
||||
var x = document.getElementById('repsec2').children;
|
||||
@ -369,7 +369,7 @@ function subReport() {
|
||||
var name = x[i].children[0].id;
|
||||
push[`${series}-${user.uid.toString()}`.toString()][name] = document.querySelector('input[name="' + name + '"]:checked').value;
|
||||
} else if (x[i].children[1].tagName == "TEXTAREA") {
|
||||
push[`${series}-${user.uid.toString()}`.toString()][x[i].children[1].id] = x[i].children[1].innerHTML;
|
||||
push[`${series}-${user.uid.toString()}`.toString()][x[i].children[1].id] = x[i].children[1].value;
|
||||
}
|
||||
}
|
||||
var x = document.getElementById('repsec3').children;
|
||||
|
Loading…
Reference in New Issue
Block a user