mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
moved add series to require.
This commit is contained in:
parent
24c77b4047
commit
72772bed5a
16 changed files with 181 additions and 185 deletions
|
@ -1,15 +1,17 @@
|
|||
"use strict";
|
||||
define(
|
||||
[
|
||||
'app',
|
||||
'backbone',
|
||||
'AddSeries/RootFolders/Model',
|
||||
'mixins/backbone.signalr.mixin'
|
||||
], function () {
|
||||
], function (Backbone, RootFolderModel) {
|
||||
|
||||
var rootFolderCollection = Backbone.Collection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/rootfolder',
|
||||
model: NzbDrone.AddSeries.RootFolders.RootFolderModel
|
||||
model: RootFolderModel
|
||||
});
|
||||
|
||||
return new rootFolderCollection().BindSignalR();
|
||||
var collection = new rootFolderCollection().BindSignalR();
|
||||
|
||||
return collection;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue