Fixed add series referencing spinnerView

pull/2/head
Mark McDowall 12 years ago
parent 7771899e29
commit eb6d6e74b0

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

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

Loading…
Cancel
Save