1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

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
@@ -4,7 +4,7 @@ define(
'marionette',
'Mixins/AsModelBoundView',
'Mixins/AsValidatedView',
'Mixins/AutoComplete'
'Mixins/FileBrowser'
], function (Marionette, AsModelBoundView, AsValidatedView) {
var view = Marionette.ItemView.extend({
@@ -15,7 +15,7 @@ define(
},
onShow: function () {
this.ui.droneFactory.autoComplete('/directories');
this.ui.droneFactory.fileBrowser();
}
});
@@ -11,7 +11,7 @@ define([
'Mixins/AsValidatedView',
'Mixins/AsEditModalView',
'Form/FormBuilder',
'Mixins/AutoComplete',
'Mixins/FileBrowser',
'bootstrap'
], function (_, vent, AppLayout, Marionette, DeleteView, CommandController, AsModelBoundView, AsValidatedView, AsEditModalView) {
@@ -39,7 +39,7 @@ define([
this.ui.modalBody.addClass('modal-overflow');
}
this.ui.path.autoComplete('/directories');
this.ui.path.fileBrowser({ showFiles: true });
},
_onAfterSave: function () {
@@ -10,7 +10,7 @@ define([
'Mixins/AsModelBoundView',
'Mixins/AsValidatedView',
'Mixins/AsEditModalView',
'Mixins/AutoComplete',
'Mixins/FileBrowser',
'bootstrap'
], function (_, vent, AppLayout, Marionette, DeleteView, CommandController, AsModelBoundView, AsValidatedView, AsEditModalView) {
@@ -34,7 +34,7 @@ define([
this.ui.modalBody.addClass('modal-overflow');
}
this.ui.path.autoComplete('/directories');
this.ui.path.fileBrowser();
},
_onAfterSave : function () {