mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
existing series search shows first suggestion
requests are sent to server sequentially not to kill the client.
This commit is contained in:
parent
482cbc20a3
commit
343a794c2a
3 changed files with 41 additions and 18 deletions
|
@ -65,11 +65,14 @@ define([
|
|||
|
||||
onRender: function () {
|
||||
|
||||
rootFolderCollection.fetch();
|
||||
var self = this;
|
||||
|
||||
rootFolderCollection.fetch({success: function () {
|
||||
self.importExisting.show(new NzbDrone.AddSeries.Existing.RootFolderCompositeView({model: rootFolderCollection.at(0)}));
|
||||
}});
|
||||
qualityProfileCollection.fetch();
|
||||
|
||||
this.addNew.show(new NzbDrone.AddSeries.New.AddNewSeriesView());
|
||||
this.importExisting.show(new NzbDrone.AddSeries.Existing.ImportSeriesView());
|
||||
this.rootFolders.show(new NzbDrone.AddSeries.RootDirView());
|
||||
|
||||
this.listenTo(rootFolderCollection, 'add', this.evaluateActions, this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue