testing 123
This commit is contained in:
parent
1b236108eb
commit
348d6767b3
|
@ -61,6 +61,8 @@ document.getElementById('acl-edit-form').addEventListener('submit', function(e)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.ok) window.location.href = '/acl';
|
if (res.ok) window.location.href = '/acl';
|
||||||
else alert('Failed to update ACL entry');
|
else alert('Failed to update ACL entry');
|
||||||
|
}).catch(err => {
|
||||||
|
alert('Error: ' + err.message);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
Loading…
Reference in a new issue