Update handling of filePath argument

This commit is contained in:
billz
2023-12-31 08:03:19 +00:00
parent fd38a22c4f
commit ca9c0471b6
2 changed files with 4 additions and 4 deletions

View File

@@ -270,8 +270,7 @@ function setDHCPToggles(state) {
$('#debugModal').on('shown.bs.modal', function (e) {
var csrfToken = $('meta[name=csrf_token]').attr('content');
$.post('ajax/system/sys_debug.php',{'csrf_token': csrfToken},function(data){
var filePath = JSON.parse(data);
window.location.replace('/ajax/system/sys_get_logfile.php?filePath='+filePath);
window.location.replace('/ajax/system/sys_get_logfile.php');
$('#debugModal').modal('hide');
});
});