mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Cleaned up a bit
This commit is contained in:
parent
6144ff8f3e
commit
5660b5086c
3 changed files with 8 additions and 8 deletions
|
@ -14,9 +14,9 @@ define(['app',
|
|||
|
||||
openSchemaModal: function () {
|
||||
//TODO: Is there a better way to deal with changing URLs?
|
||||
var schema = new NzbDrone.Settings.Indexers.Collection();
|
||||
schema.url = '/api/indexer/schema';
|
||||
schema.fetch({
|
||||
var schemaCollection = new NzbDrone.Settings.Indexers.Collection();
|
||||
schemaCollection.url = '/api/indexer/schema';
|
||||
schemaCollection.fetch({
|
||||
success: function (collection) {
|
||||
collection.url = '/api/indexer';
|
||||
var model = _.first(collection.models);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue