mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed folder auto complete
This commit is contained in:
@@ -4,11 +4,20 @@ define(
|
||||
[
|
||||
'marionette',
|
||||
'Mixins/AsModelBoundView',
|
||||
'Mixins/AutoComplete',
|
||||
'bootstrap'
|
||||
], function (Marionette, AsModelBoundView) {
|
||||
|
||||
var view = Marionette.ItemView.extend({
|
||||
template : 'Settings/DownloadClient/BlackholeViewTemplate'
|
||||
template : 'Settings/DownloadClient/BlackholeViewTemplate',
|
||||
|
||||
ui: {
|
||||
'blackholeFolder': '.x-path'
|
||||
},
|
||||
|
||||
onShow: function () {
|
||||
this.ui.blackholeFolder.autoComplete('/directories');
|
||||
}
|
||||
});
|
||||
|
||||
return AsModelBoundView.call(view);
|
||||
|
Reference in New Issue
Block a user