diff --git a/UI/AddSeries/AddSeriesLayout.js b/UI/AddSeries/AddSeriesLayout.js index 656fe814b..9f6a7969c 100644 --- a/UI/AddSeries/AddSeriesLayout.js +++ b/UI/AddSeries/AddSeriesLayout.js @@ -19,7 +19,8 @@ define( }, events: { - 'click .x-import': '_importSeries' + 'click .x-import': '_importSeries', + 'click .x-add-new': '_addSeries' }, attributes: { @@ -48,6 +49,10 @@ define( _importSeries: function () { App.modalRegion.show(this.rootFolderLayout); + }, + + _addSeries: function () { + this.workspace.show(new AddSeriesView()); } }); }); diff --git a/UI/AddSeries/AddSeriesTemplate.html b/UI/AddSeries/AddSeriesTemplate.html index 51bd1ac32..87715f2b1 100644 --- a/UI/AddSeries/AddSeriesTemplate.html +++ b/UI/AddSeries/AddSeriesTemplate.html @@ -1,10 +1,10 @@ -
-
- {{#if folder.path}} - {{folder.path}} - {{/if}} +{{#if folder.path}} +
+
+ {{folder.path}} +
-
+{{/if}}