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