mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
fix add existing series.
This commit is contained in:
parent
42efef0bb2
commit
904061c2f0
3 changed files with 17 additions and 11 deletions
|
@ -60,10 +60,10 @@ define(
|
|||
|
||||
_onLoadMore: function () {
|
||||
var showingAll = this.resultCollectionView.showMore();
|
||||
this.ui.searchBar.show();
|
||||
|
||||
if (showingAll) {
|
||||
this.ui.loadMore.hide();
|
||||
this.ui.searchBar.show();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -94,7 +94,7 @@ define(
|
|||
this.collection.reset();
|
||||
|
||||
if (!options.term || options.term === this.collection.term) {
|
||||
return;
|
||||
return $.Deferred().resolve();
|
||||
}
|
||||
|
||||
this.searchResult.show(new LoadingView());
|
||||
|
@ -102,6 +102,8 @@ define(
|
|||
this.currentSearchPromise = this.collection.fetch({
|
||||
data: { term: options.term }
|
||||
});
|
||||
|
||||
return this.currentSearchPromise;
|
||||
},
|
||||
|
||||
_showResults: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue