mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
28 lines
712 B
JavaScript
28 lines
712 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'vent',
|
|
'marionette',
|
|
'Mixins/AsModelBoundView',
|
|
'Mixins/AsValidatedView',
|
|
'Mixins/DirectoryAutoComplete',
|
|
'Mixins/FileBrowser'
|
|
], function (vent, Marionette, AsModelBoundView, AsValidatedView) {
|
|
|
|
var view = Marionette.ItemView.extend({
|
|
template: 'Settings/MediaManagement/FileManagement/FileManagementViewTemplate',
|
|
|
|
ui: {
|
|
recyclingBin : '.x-path'
|
|
},
|
|
|
|
onShow: function () {
|
|
this.ui.recyclingBin.fileBrowser();
|
|
}
|
|
});
|
|
|
|
AsModelBoundView.call(view);
|
|
AsValidatedView.call(view);
|
|
|
|
return view;
|
|
});
|