mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
[system repo admin] fix, improvement, supplement, clean
This commit is contained in:
@@ -8,9 +8,16 @@ define([
|
||||
|
||||
var TrashRepoCollection = Backbone.Collection.extend({
|
||||
model: TrashRepoModel,
|
||||
|
||||
url: function () {
|
||||
return Common.getUrl({name: 'admin-trash-libraries'});
|
||||
},
|
||||
|
||||
parse: function(data) {
|
||||
this.search_owner = data.search_owner;
|
||||
return data.repos;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
return TrashRepoCollection;
|
||||
|
Reference in New Issue
Block a user