display the filename when uploading

This commit is contained in:
Zack Scholl 2018-04-19 20:55:08 -07:00
parent 5d0523117b
commit 8bc1123f1d
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ function onUploadFinished(file) {
if (file.type.startsWith("image")) {
prefix = '!';
}
var extraText = prefix+'['+message+'](' +
var extraText = prefix+'['+file.xhr.getResponseHeader("Location").split('filename=')[1]+'](' +
file.xhr.getResponseHeader("Location") +
')';