mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
removed add series tab
This commit is contained in:
parent
0d21f34ec5
commit
6e6df842a0
18 changed files with 87 additions and 151 deletions
11
UI/AddSeries/RootFolders/RootFolderTemplateHelper.js
Normal file
11
UI/AddSeries/RootFolders/RootFolderTemplateHelper.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
define(['app', 'AddSeries/RootFolders/RootFolderCollection'], function (app, rootFolders) {
|
||||
|
||||
Handlebars.registerHelper('rootFolderSelection', function () {
|
||||
//TODO: We should be able to pass in the context, either an object or a property
|
||||
|
||||
var templateFunction = Marionette.TemplateCache.get('AddSeries/RootFolders/RootFolderSelectionTemplate');
|
||||
return new Handlebars.SafeString(templateFunction(rootFolders.toJSON()));
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue