mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
[system admin] libraries: added 'history setting'
This commit is contained in:
@@ -13,6 +13,7 @@ define([
|
||||
initialize: function(options) {
|
||||
this.repo_name = options.repo_name;
|
||||
this.repo_id = options.repo_id;
|
||||
this.url_name = options.url_name;
|
||||
|
||||
this.render();
|
||||
this.$('.op-target').css({'max-width':280}); // for long repo name
|
||||
@@ -48,7 +49,7 @@ define([
|
||||
|
||||
$.ajax({
|
||||
url: Common.getUrl({
|
||||
'name': 'repo_history_limit',
|
||||
'name': this.url_name,
|
||||
'repo_id': this.repo_id
|
||||
}),
|
||||
type: 'get',
|
||||
@@ -120,7 +121,7 @@ define([
|
||||
|
||||
$.ajax({
|
||||
url: Common.getUrl({
|
||||
'name': 'repo_history_limit',
|
||||
'name': this.url_name,
|
||||
'repo_id': this.repo_id
|
||||
}),
|
||||
type: 'put',
|
||||
|
Reference in New Issue
Block a user