|
|
@ -2,11 +2,20 @@
|
|
|
|
define(
|
|
|
|
define(
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'marionette',
|
|
|
|
'marionette',
|
|
|
|
'Mixins/AsModelBoundView'
|
|
|
|
'Mixins/AsModelBoundView',
|
|
|
|
|
|
|
|
'Mixins/AutoComplete'
|
|
|
|
], function (Marionette, AsModelBoundView) {
|
|
|
|
], function (Marionette, AsModelBoundView) {
|
|
|
|
|
|
|
|
|
|
|
|
var view = Marionette.ItemView.extend({
|
|
|
|
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);
|
|
|
|
return AsModelBoundView.call(view);
|
|
|
|