mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
Add existing series, load more will only load 5 results at a time
This commit is contained in:
parent
47e7805cf9
commit
3559d35d92
4 changed files with 21 additions and 8 deletions
|
@ -25,11 +25,13 @@ define(
|
|||
},
|
||||
|
||||
_onLoadMore: function () {
|
||||
this.ui.loadMore.hide();
|
||||
this.ui.searchBar.show();
|
||||
this.resultCollectionView.showAll();
|
||||
},
|
||||
var showingAll = this.resultCollectionView.showMore();
|
||||
|
||||
if (showingAll) {
|
||||
this.ui.loadMore.hide();
|
||||
this.ui.searchBar.show();
|
||||
}
|
||||
},
|
||||
|
||||
initialize: function (options) {
|
||||
this.collection = new AddSeriesCollection({unmappedFolderModel: this.model});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue