mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
0ee82feab7
New: Optional recycling bin on Media Management (advanced)
23 lines
566 B
JavaScript
23 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);
|
|
});
|