Test file list

This commit is contained in:
Bruno Rybársky 2024-04-25 15:02:38 +02:00
parent b764dfad8b
commit c3d775efaa

@ -574,7 +574,6 @@ function deleteFile(fileID){
}
async function listFiles() {
let fileListContainer = document.getElementById("filelist");
let formData = new FormData();
formData.append('action', 'getAllFiles');
@ -583,7 +582,7 @@ async function listFiles() {
xhr.onload = function () {
if (xhr.status === 200) {
displayList(xhr.responseText, fileListContainer, deleteFile);
displayList(xhr.responseText, "filelist", deleteFile);
}
};