diff --git a/UI/AddSeries/RootFolders/Layout.js b/UI/AddSeries/RootFolders/Layout.js index b0030f374..89388b2c2 100644 --- a/UI/AddSeries/RootFolders/Layout.js +++ b/UI/AddSeries/RootFolders/Layout.js @@ -6,8 +6,9 @@ define( 'AddSeries/RootFolders/CollectionView', 'AddSeries/RootFolders/Collection', 'AddSeries/RootFolders/Model', + 'Shared/LoadingView', 'Mixins/AutoComplete' - ], function (Marionette, RootFolderCollectionView, RootFolderCollection, RootFolderModel) { + ], function (Marionette, RootFolderCollectionView, RootFolderCollection, RootFolderModel, LoadingView) { return Marionette.Layout.extend({ template: 'AddSeries/RootFolders/LayoutTemplate', @@ -33,6 +34,7 @@ define( onRender: function () { var self = this; + this.currentDirs.show(new LoadingView()); RootFolderCollection.promise.done(function () { self.currentDirs.show(self.rootfolderListView); diff --git a/UI/AddSeries/RootFolders/LayoutTemplate.html b/UI/AddSeries/RootFolders/LayoutTemplate.html index 6b466dc0f..2a5d5f350 100644 --- a/UI/AddSeries/RootFolders/LayoutTemplate.html +++ b/UI/AddSeries/RootFolders/LayoutTemplate.html @@ -11,7 +11,7 @@ {{#if items}}