Recycling bin setting is available on Media Management (advanced)

New: Optional recycling bin on Media Management (advanced)
pull/32/head
Mark McDowall 11 years ago
parent 1e0c053bd3
commit 0ee82feab7

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

@ -40,4 +40,15 @@
</span>
</div>
</div>
<div class="control-group">
<label class="control-label">Recycling Bin</label>
<div class="controls">
<input type="text" name="recycleBin" class="x-path"/>
<span class="help-inline">
<i class="icon-nd-form-info" title="Episode files will go here when deleted instead of being permanently deleted"/>
</span>
</div>
</div>
</fieldset>

Loading…
Cancel
Save