mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Commenting out console logging.
This commit is contained in:
parent
4687f27011
commit
d25ef56591
31 changed files with 87 additions and 87 deletions
|
|
@ -50,7 +50,7 @@ Template.taskForm.events({
|
|||
event.preventDefault();
|
||||
let elemcc = document.getElementById('taskName');
|
||||
let taskName = M.Chips.getInstance(elemcc).chipsData;
|
||||
console.log(taskName);
|
||||
// console.log(taskName);
|
||||
},
|
||||
'change #taskDate' (event) {
|
||||
let taskDate = $("#taskDate").val();
|
||||
|
|
@ -94,9 +94,9 @@ Template.taskForm.events({
|
|||
const addTask = async() => {
|
||||
let result = await Meteor.callAsync("add.task", taskNameArr, userInfo[0], userInfo[1], taskDateArr, actDate);
|
||||
if (!result) {
|
||||
console.log(" ERROR adding the new task.");
|
||||
// console.log(" ERROR adding the new task.");
|
||||
} else {
|
||||
console.log(" SUCCESS adding the new task.");
|
||||
// console.log(" SUCCESS adding the new task.");
|
||||
Session.set("taskDateArr", []);
|
||||
$("#taskDate").val("");
|
||||
$("#taskUser").val("");
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ Template.taskTbl.events({
|
|||
const markComp = async() => {
|
||||
let result = await Meteor.callAsync("markTask.complete", taskId);
|
||||
if (!result) {
|
||||
console.log(" ERROR marking task completeL " + err);
|
||||
// console.log(" ERROR marking task completeL " + err);
|
||||
showSnackbar("ERROR Marking Task Complete!", "red");
|
||||
} else {
|
||||
showSnackbar("Successfully Marked Task Complete!", "green");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue