mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-31 06:40:39 +00:00
[shared file view] bugfix
This commit is contained in:
parent
7a8ef5e0aa
commit
adad9baeaf
@ -50,6 +50,7 @@
|
||||
commitID: '{{ current_commit.id }}' || '{{ repo.head_cmmt_id }}',
|
||||
|
||||
// for 'view file in shared dir'
|
||||
{% if zipped %}
|
||||
zipped: (function() {
|
||||
var list = [];
|
||||
{% for name, path in zipped %}
|
||||
@ -60,6 +61,7 @@
|
||||
{% endfor %}
|
||||
return list;
|
||||
})(),
|
||||
{% endif %}
|
||||
prevImgPath: {% if img_prev %}'{{ img_prev|escapejs }}'{% else %}''{% endif %},
|
||||
nextImgPath: {% if img_next %}'{{ img_next|escapejs }}'{% else %}''{% endif %}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user