diff --git a/UI/AddSeries/AddSeriesLayout.js b/UI/AddSeries/AddSeriesLayout.js index 9ca71b510..a15bec513 100644 --- a/UI/AddSeries/AddSeriesLayout.js +++ b/UI/AddSeries/AddSeriesLayout.js @@ -11,7 +11,7 @@ define( ], function (App, Marionette, RootFolderLayout, ExistingSeriesCollectionView, AddSeriesView, qualityProfileCollection, rootFolderCollection) { return Marionette.Layout.extend({ - template: 'AddSeries/addSeriesLayoutTemplate', + template: 'AddSeries/AddSeriesLayoutTemplate', regions: { workspace: '#add-series-workspace' diff --git a/UI/AddSeries/RootFolders/Layout.js b/UI/AddSeries/RootFolders/Layout.js index 210fe5019..0e76a39b0 100644 --- a/UI/AddSeries/RootFolders/Layout.js +++ b/UI/AddSeries/RootFolders/Layout.js @@ -21,7 +21,7 @@ define( }, events: { - 'click .x-add': 'addFolder' + 'click .x-add': '_addFolder' }, initialize: function () { @@ -30,7 +30,6 @@ define( this.rootfolderListView.on('itemview:folderSelected', this._onFolderSelected, this); }, - onRender: function () { this.currentDirs.show(this.rootfolderListView); @@ -41,7 +40,7 @@ define( this.trigger('folderSelected', options); }, - addFolder: function () { + _addFolder: function () { var newDir = new RootFolderModel({ Path: this.ui.pathInput.val() }); diff --git a/UI/AddSeries/RootFolders/LayoutTemplate.html b/UI/AddSeries/RootFolders/LayoutTemplate.html index d1bf59723..fc387d9df 100644 --- a/UI/AddSeries/RootFolders/LayoutTemplate.html +++ b/UI/AddSeries/RootFolders/LayoutTemplate.html @@ -4,9 +4,9 @@