Enter on add root folder will add folder

Renamed Root Folder js files
This commit is contained in:
Mark McDowall 2014-02-08 11:54:14 -08:00
parent 0247aebb25
commit dff6726114
10 changed files with 23 additions and 14 deletions

View 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();
});