|
|
|
|
@ -24,7 +24,6 @@ import de.srsoftware.umbrella.core.model.Company;
@@ -24,7 +24,6 @@ import de.srsoftware.umbrella.core.model.Company;
|
|
|
|
|
import de.srsoftware.umbrella.core.model.Project; |
|
|
|
|
import de.srsoftware.umbrella.core.model.Token; |
|
|
|
|
import de.srsoftware.umbrella.core.model.UmbrellaUser; |
|
|
|
|
|
|
|
|
|
import java.io.*; |
|
|
|
|
import java.net.URLDecoder; |
|
|
|
|
import java.nio.file.Files; |
|
|
|
|
@ -136,6 +135,7 @@ public class FileModule extends BaseHandler implements FileService {
@@ -136,6 +135,7 @@ public class FileModule extends BaseHandler implements FileService {
|
|
|
|
|
if (!dropDir(file)) return sendContent(ex,HTTP_SERVER_ERROR,format("Failed to delete {0}",file.getName())); |
|
|
|
|
Map<String,Object> map = getDirectory(file.getParentFile()); |
|
|
|
|
map.put("title",file.getName()); |
|
|
|
|
map.put("delete",true); |
|
|
|
|
return sendContent(ex,map); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|