mirror of
https://github.com/Radarr/Radarr
synced 2026-01-01 13:13:12 +01:00
22 lines
566 B
JavaScript
22 lines
566 B
JavaScript
'use strict';
|
||
define(
|
||
[
|
||
'marionette',
|
||
'Mixins/AsModelBoundView',
|
||
'Mixins/AutoComplete'
|
||
], function (Marionette, AsModelBoundView) {
|
||
|
||
var view = Marionette.ItemView.extend({
|
||
template: 'Settings/MediaManagement/FileManagement/FileManagementViewTemplate',
|
||
|
||
ui: {
|
||
recyclingBin: '.x-path'
|
||
},
|
||
|
||
onShow: function () {
|
||
this.ui.recyclingBin.autoComplete('/directories');
|
||
}
|
||
});
|
||
|
||
return AsModelBoundView.call(view);
|
||
});
|