mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
Cleaned up a bit
This commit is contained in:
parent
6144ff8f3e
commit
5660b5086c
3 changed files with 8 additions and 8 deletions
|
@ -10,11 +10,11 @@ define(['app', 'Settings/Notifications/ItemView', 'Settings/Notifications/AddVie
|
|||
},
|
||||
|
||||
openSchemaModal: function () {
|
||||
var schema = new NzbDrone.Settings.Notifications.Collection();
|
||||
schema.url = '/api/notification/schema';
|
||||
schema.fetch();
|
||||
var schemaCollection = new NzbDrone.Settings.Notifications.Collection();
|
||||
schemaCollection.url = '/api/notification/schema';
|
||||
schemaCollection.fetch();
|
||||
|
||||
var view = new NzbDrone.Settings.Notifications.AddView({ collection: schema});
|
||||
var view = new NzbDrone.Settings.Notifications.AddView({ collection: schemaCollection});
|
||||
NzbDrone.modalRegion.show(view);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue