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',
'AddSeries/Collection',
'AddSeries/SearchResultCollectionView',
'Shared/SpinnerView'
], function (App, Marionette, AddSeriesCollection, SearchResultCollectionView, SpinnerView) {
'Shared/LoadingView'
], function (App, Marionette, AddSeriesCollection, SearchResultCollectionView, LoadingView) {
return Marionette.Layout.extend({
template: 'AddSeries/AddSeriesTemplate',
@ -88,7 +88,7 @@ define(
this.searchResult.close();
}
else {
this.searchResult.show(new SpinnerView());
this.searchResult.show(new LoadingView());
this.currentSearchPromise = this.collection.fetch({
data: { term: options.term }
}).done(function () {

View File

@ -55,7 +55,7 @@ define(
this.activity.show(new Backgrid.Grid({
collection: new Backbone.Collection(episodeFile),
columns : this.columns,
className : 'table table-bordered'
className : 'table table-bordered'spinn
}));
}