Test file list
This commit is contained in:
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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user