Skip to content
Permalink
Browse files

file upload cleaner

  • Loading branch information
luiscorujo committed Nov 27, 2019
1 parent 7cd2e26 commit 143b4216a23af4d35b7b416915eb47ccbea3cb40
BIN -1.92 KB dump.rdb
Binary file not shown.
@@ -78,7 +78,6 @@ public File getImageFile(@RequestParam Long fileEntryId, @RequestParam String fi
return this.fileEntryDao.getNonImageFiles();
}
catch(NotFoundException e){
System.out.println(e);
return new ArrayList<FileEntry>();
}
}
BIN -4.24 KB scripts/run/dump.rdb
Binary file not shown.
@@ -128,12 +128,12 @@
function loadPageContentResponse(data) {
for (i = 0; i < data.length; i++) {
const node = document.createElement("LI");
var a = document.createElement('a');
var aElement = document.createElement('a');
const textCreatedAt = data[i].fileEntry.createdAt.split('T')[0]
const textnode = document.createTextNode(data[i].fileEntry.fileName+' - '+textCreatedAt);
a.appendChild(textnode);
a.href = data[i].url;
node.appendChild(a);
aElement.appendChild(textnode);
aElement.href = data[i].url;
node.appendChild(aElement);
document.getElementById("fileList").appendChild(node);
}
}

0 comments on commit 143b421

Please sign in to comment.
You can’t perform that action at this time.