Auto commit: 2025-12-11T19:33:33.198Z
This commit is contained in:
parent
b8314b8ed6
commit
5cf23db15a
@ -87,11 +87,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
event.preventDefault();
|
||||
|
||||
const formData = new FormData(addMemberForm);
|
||||
formData.append('action', 'add');
|
||||
|
||||
fetch('api_members.php', {
|
||||
method: 'POST',
|
||||
body: formData
|
||||
body: new URLSearchParams(formData)
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user