1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 17:27:59 +00:00

Fixed add series referencing spinnerView

This commit is contained in:
Mark McDowall 2013-08-22 18:52:19 -07:00
parent 7771899e29
commit eb6d6e74b0
2 changed files with 4 additions and 4 deletions

View file

@ -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 () {

View file

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