2013-07-05 03:26:07 +00:00
|
|
|
|
'use strict';
|
|
|
|
|
define(
|
|
|
|
|
[
|
|
|
|
|
'marionette',
|
2013-09-29 04:17:20 +00:00
|
|
|
|
'Mixins/AsModelBoundView',
|
|
|
|
|
'Mixins/AutoComplete'
|
2013-07-05 03:26:07 +00:00
|
|
|
|
], function (Marionette, AsModelBoundView) {
|
|
|
|
|
|
|
|
|
|
var view = Marionette.ItemView.extend({
|
2013-09-29 04:17:20 +00:00
|
|
|
|
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);
|
|
|
|
|
});
|