Fixed upload
This commit is contained in:
parent
7f37a7d471
commit
afa9558036
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
BIN
dist/view.js
vendored
BIN
dist/view.js
vendored
Binary file not shown.
@ -200,9 +200,12 @@ build.uploadModal = (title, files) ->
|
|||||||
<div class='rows'>
|
<div class='rows'>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
console.log files
|
i = 0
|
||||||
|
file = null
|
||||||
|
|
||||||
files.forEach (file, i, files) ->
|
while i < files.length
|
||||||
|
|
||||||
|
file = files[i]
|
||||||
|
|
||||||
if file.name.length > 40
|
if file.name.length > 40
|
||||||
file.name = file.name.substr(0, 17) + '...' + file.name.substr(file.name.length-20, 20)
|
file.name = file.name.substr(0, 17) + '...' + file.name.substr(file.name.length-20, 20)
|
||||||
@ -220,6 +223,8 @@ build.uploadModal = (title, files) ->
|
|||||||
</div>
|
</div>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
i++
|
||||||
|
|
||||||
html += """
|
html += """
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user