added create and eedit note functionality (flawed)

This commit is contained in:
Felix Ivo
2025-06-27 09:56:46 +02:00
parent 1e9705aa13
commit 24c8f38c4d
4 changed files with 50 additions and 12 deletions

View File

@@ -86,7 +86,7 @@ document.addEventListener('DOMContentLoaded', () => {
// Use handleAjaxForm for consistency
const formData = new FormData(tempForm);
fetch('index.php', {
fetch('?controller=Notes&do=showNotes', {
method: 'POST',
body: formData
})