fixed deleteFiles
This commit is contained in:
@@ -144,7 +144,7 @@ window.deleteSelectedFiles = function () {
|
|||||||
if (!confirm(`Are you sure you want to delete the selected files?`)) {
|
if (!confirm(`Are you sure you want to delete the selected files?`)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fetch("deleteFile.php", {
|
fetch("deleteFiles.php", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
body: JSON.stringify({ files: selectedFiles })
|
body: JSON.stringify({ files: selectedFiles })
|
||||||
|
|||||||
Reference in New Issue
Block a user