1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 18:28:19 +00:00

Stop searching for existing series when view is changed

This commit is contained in:
Mark McDowall 2013-09-29 00:02:12 -07:00
parent 5d8bc50c77
commit c2129054a0
3 changed files with 5 additions and 3 deletions

View file

@ -4,7 +4,7 @@ define(
'app',
'marionette',
'AddSeries/RootFolders/Layout',
'AddSeries/Existing/CollectionView',
'AddSeries/Existing/AddExistingSeriesCollectionView',
'AddSeries/AddSeriesView',
'Quality/QualityProfileCollection',
'AddSeries/RootFolders/Collection',

View file

@ -30,7 +30,9 @@ define(
this.children.findByModel(model)
.search({term: folderName})
.always(function () {
if (!self.isClosed) {
self._showAndSearch(currentIndex + 1);
}
});
}
},

View file

@ -52,5 +52,5 @@ define(
options.element.startSpin();
}
}
};
});