mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
testing mistakes
This commit is contained in:
parent
8244efa09b
commit
169c1737b2
@ -375,6 +375,11 @@ function subReport() {
|
||||
}else if (x[i].children[1].tagName == "TEXTAREA") {
|
||||
push[`${series}-${user.uid.toString()}`.toString()][x[i].children[1].id] = x[i].children[1].innerHTML;
|
||||
}
|
||||
}
|
||||
try {
|
||||
delete push[`${series}-${user.uid.toString()}`.toString()][""]
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
firebase.firestore().collection('webData').doc('test').set(push).then(function() {
|
||||
alert('Submitted!')
|
||||
|
Loading…
Reference in New Issue
Block a user