mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
Fixed add series referencing spinnerView
This commit is contained in:
parent
7771899e29
commit
eb6d6e74b0
@ -5,8 +5,8 @@ define(
|
|||||||
'marionette',
|
'marionette',
|
||||||
'AddSeries/Collection',
|
'AddSeries/Collection',
|
||||||
'AddSeries/SearchResultCollectionView',
|
'AddSeries/SearchResultCollectionView',
|
||||||
'Shared/SpinnerView'
|
'Shared/LoadingView'
|
||||||
], function (App, Marionette, AddSeriesCollection, SearchResultCollectionView, SpinnerView) {
|
], function (App, Marionette, AddSeriesCollection, SearchResultCollectionView, LoadingView) {
|
||||||
return Marionette.Layout.extend({
|
return Marionette.Layout.extend({
|
||||||
template: 'AddSeries/AddSeriesTemplate',
|
template: 'AddSeries/AddSeriesTemplate',
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ define(
|
|||||||
this.searchResult.close();
|
this.searchResult.close();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.searchResult.show(new SpinnerView());
|
this.searchResult.show(new LoadingView());
|
||||||
this.currentSearchPromise = this.collection.fetch({
|
this.currentSearchPromise = this.collection.fetch({
|
||||||
data: { term: options.term }
|
data: { term: options.term }
|
||||||
}).done(function () {
|
}).done(function () {
|
||||||
|
@ -55,7 +55,7 @@ define(
|
|||||||
this.activity.show(new Backgrid.Grid({
|
this.activity.show(new Backgrid.Grid({
|
||||||
collection: new Backbone.Collection(episodeFile),
|
collection: new Backbone.Collection(episodeFile),
|
||||||
columns : this.columns,
|
columns : this.columns,
|
||||||
className : 'table table-bordered'
|
className : 'table table-bordered'spinn
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user