mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 23:00:57 +00:00
new admin libraries page
This commit is contained in:
17
static/scripts/sysadmin-app/collection/trash-libraries.js
Normal file
17
static/scripts/sysadmin-app/collection/trash-libraries.js
Normal file
@@ -0,0 +1,17 @@
|
||||
define([
|
||||
'underscore',
|
||||
'backbone',
|
||||
'common',
|
||||
'sysadmin-app/models/trash-library'
|
||||
], function(_, Backbone, Common, TrashLibraryModel) {
|
||||
'use strict';
|
||||
|
||||
var TrashLibraryCollection = Backbone.Collection.extend({
|
||||
model: TrashLibraryModel,
|
||||
url: function () {
|
||||
return Common.getUrl({name: 'admin-trash-libraries'});
|
||||
}
|
||||
});
|
||||
|
||||
return TrashLibraryCollection;
|
||||
});
|
Reference in New Issue
Block a user