mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-31 22:57:47 +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 }}',
|
commitID: '{{ current_commit.id }}' || '{{ repo.head_cmmt_id }}',
|
||||||
|
|
||||||
// for 'view file in shared dir'
|
// for 'view file in shared dir'
|
||||||
|
{% if zipped %}
|
||||||
zipped: (function() {
|
zipped: (function() {
|
||||||
var list = [];
|
var list = [];
|
||||||
{% for name, path in zipped %}
|
{% for name, path in zipped %}
|
||||||
@ -60,6 +61,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
return list;
|
return list;
|
||||||
})(),
|
})(),
|
||||||
|
{% endif %}
|
||||||
prevImgPath: {% if img_prev %}'{{ img_prev|escapejs }}'{% else %}''{% endif %},
|
prevImgPath: {% if img_prev %}'{{ img_prev|escapejs }}'{% else %}''{% endif %},
|
||||||
nextImgPath: {% if img_next %}'{{ img_next|escapejs }}'{% else %}''{% endif %}
|
nextImgPath: {% if img_next %}'{{ img_next|escapejs }}'{% else %}''{% endif %}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user