mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-25 22:37:27 -04:00
UI Cleanup - Updated Settings subtree.
This commit is contained in:
@@ -5,15 +5,19 @@ var AsValidatedView = require('../../../Mixins/AsValidatedView');
|
||||
require('../../../Mixins/DirectoryAutoComplete');
|
||||
require('../../../Mixins/FileBrowser');
|
||||
|
||||
module.exports = (function(){
|
||||
var view = Marionette.ItemView.extend({
|
||||
template : 'Settings/MediaManagement/FileManagement/FileManagementViewTemplate',
|
||||
ui : {recyclingBin : '.x-path'},
|
||||
onShow : function(){
|
||||
this.ui.recyclingBin.fileBrowser();
|
||||
}
|
||||
});
|
||||
AsModelBoundView.call(view);
|
||||
AsValidatedView.call(view);
|
||||
return view;
|
||||
}).call(this);
|
||||
var view = Marionette.ItemView.extend({
|
||||
template : 'Settings/MediaManagement/FileManagement/FileManagementViewTemplate',
|
||||
|
||||
ui : {
|
||||
recyclingBin : '.x-path'
|
||||
},
|
||||
|
||||
onShow : function() {
|
||||
this.ui.recyclingBin.fileBrowser();
|
||||
}
|
||||
});
|
||||
|
||||
AsModelBoundView.call(view);
|
||||
AsValidatedView.call(view);
|
||||
|
||||
module.exports = view;
|
||||
Reference in New Issue
Block a user