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:
@@ -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;
|
@@ -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;
|
||||
|
@@ -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() {
|
@@ -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() {
|
||||
|
Reference in New Issue
Block a user