@@ -65,7 +65,7 @@
-
+
diff --git a/UI/Series/Edit/EditSeriesView.js b/UI/Series/Edit/EditSeriesView.js
index 2e2528573..4f8e6154e 100644
--- a/UI/Series/Edit/EditSeriesView.js
+++ b/UI/Series/Edit/EditSeriesView.js
@@ -1,19 +1,20 @@
-'use strict';
+'use strict';
define(
[
'App',
'marionette',
'Series/Delete/DeleteSeriesView',
'Quality/QualityProfileCollection',
- 'Mixins/AsModelBoundView'
+ 'Mixins/AsModelBoundView',
+ 'Mixins/AutoComplete'
], function (App, Marionette, DeleteSeriesView, QualityProfiles, AsModelBoundView) {
var view = Marionette.ItemView.extend({
template: 'Series/Edit/EditSeriesTemplate',
ui: {
- progressbar : '.progress .bar',
- qualityProfile : '.x-quality-profile'
+ qualityProfile: '.x-quality-profile',
+ path : '.x-path'
},
events: {
@@ -39,10 +40,17 @@ define(
App.modalRegion.closeModal();
},
+
+ onRender: function () {
+ this.ui.path.autoComplete('/directories');
+ },
+
removeSeries: function () {
var view = new DeleteSeriesView({ model: this.model });
App.modalRegion.show(view);
}
});
+
+
return AsModelBoundView.apply(view);
});
diff --git a/UI/Series/series.less b/UI/Series/series.less
index bedcd3fe6..e02ff5f86 100644
--- a/UI/Series/series.less
+++ b/UI/Series/series.less
@@ -2,6 +2,10 @@
@import "../Shared/Styles/clickable.less";
@import "../Content/prefixer";
+.edit-series-modal {
+ overflow : visible;
+}
+
.series-item {
padding-bottom : 30px;
@@ -165,16 +169,16 @@
}
.search-buttons {
- width: 400px;
- margin-left: auto;
- margin-right: auto;
+ width : 400px;
+ margin-left : auto;
+ margin-right : auto;
}
}
.season-grid {
.toggle-cell {
- width : 12px;
- text-align: center;
+ width : 12px;
+ text-align : center;
}
.toggle-cell {
@@ -185,8 +189,8 @@
}
.season-actions, .series-actions {
- font-size : 24px;
- text-transform: none;
+ font-size : 24px;
+ text-transform : none;
i {
.clickable;