From 410b32d49eed660b9f13ead96b38a3c93f3217fa Mon Sep 17 00:00:00 2001 From: jggj21 Date: Thu, 29 Aug 2024 15:20:58 -0600 Subject: [PATCH] Remove logs --- resources/views/tasks.blade.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/resources/views/tasks.blade.php b/resources/views/tasks.blade.php index a61582020..3fa55fd0c 100644 --- a/resources/views/tasks.blade.php +++ b/resources/views/tasks.blade.php @@ -208,9 +208,7 @@ var button = $(event.relatedTarget); var taskId = button.data('task-id'); var taskName = button.data('task-name'); - var taskFile = button.data('task-file'); - console.log("EDIT MODAL"); - console.log({taskId, taskName, taskFile}); + var taskFile = button.data('task-file'); var modal = $(this); modal.find('#editTaskId').val(taskId); modal.find('#editTaskName').val(taskName); @@ -219,17 +217,6 @@ $('#editTaskForm').on('submit', function (event) { event.preventDefault(); - console.log("SUBMIT UPDATE"); - console.log(this); - console.log($(this).attr('action')); - var formData = new FormData(this); - var taskId = $('#editTaskId').val(); - var taskName = $('#editTaskId').val(); - var updateUrl = '/task/' + taskId; - console.log({taskId, formData}); - for (var pair of formData.entries()) { - console.log(pair[0]+ ': ' + pair[1]); - } $.ajax({ url: $(this).attr('action'), type: 'POST',