mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 04:00:18 -07:00
indexer settings is dynamically generated
This commit is contained in:
parent
1877f70403
commit
7696fb54dc
7 changed files with 1562 additions and 10 deletions
|
@ -7,13 +7,8 @@ define([
|
|||
], function () {
|
||||
|
||||
NzbDrone.Settings.Indexers.ItemView = Backbone.Marionette.ItemView.extend({
|
||||
template: 'Settings/Indexers/ItemTemplate',
|
||||
template : 'Settings/Indexers/ItemTemplate',
|
||||
initialize: function () {
|
||||
this.model.set('fields', [
|
||||
{ key: 'username', title: 'Username', helpText: 'HALP!', value: 'mark' },
|
||||
{ key: 'apiKey', title: 'API Key', helpText: 'HALP!', value: 'private' }
|
||||
]);
|
||||
|
||||
NzbDrone.vent.on(NzbDrone.Commands.SaveSettings, this.saveSettings, this);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue