more additions.
This commit is contained in:
parent
dd7e4a4933
commit
e8649038ad
5 changed files with 82 additions and 33 deletions
|
|
@ -78,6 +78,15 @@ Template.workoutLog.events({
|
|||
showSnackbar("Exercise Not Saved!", "red");
|
||||
} else {
|
||||
showSnackbar("Exercise Added!", "green");
|
||||
$("#exerciseName").val("");
|
||||
$("#exerciseType").val("");
|
||||
$("#exerciseMeasure").val("");
|
||||
$("#exerciseUnitMeasure").val("");
|
||||
$("#exerciseMeasure2").val("");
|
||||
$("#exerciseUnitMeasure2").val("");
|
||||
$("#exerciseMeasure3").val("");
|
||||
$("#exerciseUnitMeasure3").val("");
|
||||
$("#exerciseInstruction").val("");
|
||||
}
|
||||
} catch(error) {
|
||||
console.log(" ERROR trying to add an exercise to log: " + error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue