Skip to content

Commit

Permalink
Debug Edit Form
Browse files Browse the repository at this point in the history
  • Loading branch information
jggj21 authored Aug 17, 2024
1 parent 06186ed commit 9ffb00a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/views/tasks.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
});
});
});
$('#editTaskModal').on('show.bs.modal', function (event) {
var button = $(event.relatedTarget);
var taskId = button.data('task-id');
Expand All @@ -202,6 +202,9 @@
modal.find('#editTaskName').val(taskName);
var formAction = '/task/' + taskId;
console.log("FORM ACTION");
console.log(formAction);
console.log(taskId);
modal.find('#editTaskForm').attr('action', formAction);
});
</script>
Expand Down

0 comments on commit 9ffb00a

Please sign in to comment.