File Browser

New: File Browser to navigate to folders when choosing paths
This commit is contained in:
Mark McDowall 2014-12-15 23:28:55 -08:00
parent a55a77cb5b
commit 85a9b74008
51 changed files with 955 additions and 228 deletions

View file

@ -1,11 +1,13 @@
'use strict';
define(
[
'vent',
'marionette',
'Mixins/AsModelBoundView',
'Mixins/AsValidatedView',
'Mixins/AutoComplete'
], function (Marionette, AsModelBoundView, AsValidatedView) {
'Mixins/DirectoryAutoComplete',
'Mixins/FileBrowser'
], function (vent, Marionette, AsModelBoundView, AsValidatedView) {
var view = Marionette.ItemView.extend({
template: 'Settings/MediaManagement/FileManagement/FileManagementViewTemplate',
@ -15,7 +17,7 @@ define(
},
onShow: function () {
this.ui.recyclingBin.autoComplete('/directories');
this.ui.recyclingBin.fileBrowser();
}
});