mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Fixed folder auto complete
This commit is contained in:
parent
aeb8ee06f6
commit
5644ca0e05
3 changed files with 25 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue