fix domains speciallogfile ajax-check/note; improve ajax ip check in admin_ipsandports

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-03-27 11:07:55 +01:00
parent c9460fd58f
commit 9a3d88e8c9
2 changed files with 5 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ export default function () {
id: $('input[name=id]').val(), newval: +$('#speciallogfile').is(':checked')
},
dataType: "json",
async: false,
beforeSend: function (request) {
request.setRequestHeader('X-CSRF-TOKEN', document.querySelector('meta[name="csrf-token"]').getAttribute('content'));
},