Improved upload-title when filename/url too long

This commit is contained in:
Tobias Reich 2014-07-26 16:17:48 +02:00
parent e3b56398b1
commit cf3eda60f8
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long