Commit cf3eda60 authored by Tobias Reich's avatar Tobias Reich
Browse files

Improved upload-title when filename/url too long

parent e3b56398
......@@ -218,7 +218,7 @@ build = {
for (var i = 0; i < files.length; i++) {
if (files[i].name.length>40) files[i].name = files[i].name.substr(0, 40) + "...";
if (files[i].name.length>40) files[i].name = files[i].name.substr(0, 17) + "..." + files[i].name.substr(files[i].name.length-20, 20);
if (files[i].supported===true) {
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment