Test
This commit is contained in:
parent
348d6767b3
commit
9750fe787e
|
@ -59,6 +59,7 @@ document.getElementById('acl-edit-form').addEventListener('submit', function(e)
|
|||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(data)
|
||||
}).then(res => {
|
||||
console.log(res.status, res.statusText);
|
||||
if (res.ok) window.location.href = '/acl';
|
||||
else alert('Failed to update ACL entry');
|
||||
}).catch(err => {
|
||||
|
|
Loading…
Reference in a new issue