mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
existing series search shows first suggestion
requests are sent to server sequentially not to kill the client.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user