reenabled submitting form

This commit is contained in:
2025-11-21 11:18:26 -05:00
parent 2a327f0d41
commit 1dcffef2c2

View File

@@ -52,10 +52,9 @@ function onSubmit(vals) {
...vals, ...vals,
event_date: toMySQLDateTime(new Date(vals.event_date)), event_date: toMySQLDateTime(new Date(vals.event_date)),
} }
console.log(clean); postTrainingReport(clean).then((newID) => {
// postTrainingReport(clean).then((newID) => { emit("submit", newID);
// emit("submit", newID); });
// });
} catch (err) { } catch (err) {
console.log("There was an error submitting the training report", err); console.log("There was an error submitting the training report", err);
} }