added create and eedit note functionality (flawed)
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user