mirror of https://github.com/lidarr/Lidarr
ItemViewContainer didn't exist sometimes for root folders
Fixed: Error displaying existing root folders in some cases Closes #1170
This commit is contained in:
parent
59e71a4cd9
commit
af220c7f7b
|
@ -27,10 +27,10 @@ var Layout = Marionette.Layout.extend({
|
|||
this.rootfolderListView = new RootFolderCollectionView({ collection : RootFolderCollection });
|
||||
|
||||
this.listenTo(this.rootfolderListView, 'itemview:folderSelected', this._onFolderSelected);
|
||||
this.listenTo(RootFolderCollection, 'sync', this._showCurrentDirs);
|
||||
},
|
||||
|
||||
onRender : function() {
|
||||
onShow : function() {
|
||||
this.listenTo(RootFolderCollection, 'sync', this._showCurrentDirs);
|
||||
this.currentDirs.show(new LoadingView());
|
||||
|
||||
if (RootFolderCollection.synced) {
|
||||
|
|
Loading…
Reference in New Issue