existing series search shows first suggestion

requests are sent to server sequentially not to kill the client.
This commit is contained in:
Keivan Beigi 2013-05-24 19:08:26 -07:00
parent 482cbc20a3
commit 343a794c2a
3 changed files with 41 additions and 18 deletions

View file

@ -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);