Files
Prowlarr-Prowlarr/src/UI/Settings/MediaManagement/FileManagement/FileManagementView.js
Mark McDowall 77b83b521e Validation, settings UI cleanup and different settings models, oh my
New: Download client UI matches other settings
Fixed: Prevent drone factory folder from being set to invalid paths/root path for series
Fixed: Switching pages in settings will not hide changes
Fixed: Test download clients
Fixed: Settings are validated before saving
2014-02-16 23:01:36 -08:00

27 lines
666 B
JavaScript

'use strict';
define(
[
'marionette',
'Mixins/AsModelBoundView',
'Mixins/AsValidatedView',
'Mixins/AutoComplete'
], function (Marionette, AsModelBoundView, AsValidatedView) {
var view = Marionette.ItemView.extend({
template: 'Settings/MediaManagement/FileManagement/FileManagementViewTemplate',
ui: {
recyclingBin : '.x-path'
},
onShow: function () {
this.ui.recyclingBin.autoComplete('/directories');
}
});
AsModelBoundView.call(view);
AsValidatedView.call(view);
return view;
});