1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 19:00:12 +00:00

[dist] Update locales and dist

This commit is contained in:
zhengxie
2015-07-07 14:08:43 +08:00
parent 506749b4c7
commit 6a5290866a
174 changed files with 19370 additions and 1050 deletions

View File

@@ -39,6 +39,7 @@ define([
repo_id: dir.repo_id,
is_repo_owner: dir.is_repo_owner,
can_generate_shared_link: app.pageOptions.can_generate_shared_link,
is_pro: app.pageOptions.is_pro,
repo_encrypted: dir.encrypted
}));
return this;

View File

@@ -39,6 +39,7 @@ define([
repo_id: dir.repo_id,
is_repo_owner: dir.is_repo_owner,
can_generate_shared_link: app.pageOptions.can_generate_shared_link,
is_pro: app.pageOptions.is_pro,
repo_encrypted: dir.encrypted
}));
return this;

View File

@@ -37,7 +37,7 @@ define([
path = this.model.get('path');
$.ajax({
url: Common.getUrl({name: 'starred_files'}) + '?p=' + path + '&repo_id=' + repo_id,
url: Common.getUrl({name: 'starred_files'}) + '?p=' + encodeURIComponent(path) + '&repo_id=' + repo_id,
type: 'DELETE',
beforeSend: Common.prepareCSRFToken,
success: function() {

View File

@@ -37,7 +37,7 @@ define([
path = this.model.get('path');
$.ajax({
url: Common.getUrl({name: 'starred_files'}) + '?p=' + path + '&repo_id=' + repo_id,
url: Common.getUrl({name: 'starred_files'}) + '?p=' + encodeURIComponent(path) + '&repo_id=' + repo_id,
type: 'DELETE',
beforeSend: Common.prepareCSRFToken,
success: function() {