mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 16:13:58 -07:00
Enter on add root folder will add folder
Renamed Root Folder js files
This commit is contained in:
parent
0247aebb25
commit
dff6726114
10 changed files with 23 additions and 14 deletions
17
src/UI/AddSeries/RootFolders/RootFolderCollection.js
Normal file
17
src/UI/AddSeries/RootFolders/RootFolderCollection.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
'AddSeries/RootFolders/RootFolderModel',
|
||||
'Mixins/backbone.signalr.mixin'
|
||||
], function (Backbone, RootFolderModel) {
|
||||
|
||||
var RootFolderCollection = Backbone.Collection.extend({
|
||||
url : window.NzbDrone.ApiRoot + '/rootfolder',
|
||||
model: RootFolderModel
|
||||
});
|
||||
|
||||
//var collection = new RootFolderCollection().bindSignalR();
|
||||
|
||||
return new RootFolderCollection();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue