1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00

[repo] use escapejs instead of safe

This commit is contained in:
lian
2015-03-31 14:56:58 +08:00
parent 8f74939bd0
commit 865194c311

View File

@@ -1392,7 +1392,7 @@ function sortDirent() {
var loading_icon = '<img src="{{MEDIA_URL}}img/loading-icon.gif" alt="" class="vam" />';
// cur_path: will be updated after reqDirdata
var cur_path = "{{ path|safe }}"; {# safe is for ''', '&' included in path #}
var cur_path = "{{ path|escapejs}}";
// '.dir-link' click handler
function dirlinkClick() {