sonarr-repo-only/UI/Settings/MediaManagement/FileManagement/FileManagementView.js

23 lines
566 B
JavaScript
Raw Normal View History

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