1
0
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:
llj 2019-04-11 13:32:34 +08:00
parent 7a8ef5e0aa
commit adad9baeaf

View File

@ -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 %}
}