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
|
@ -8,6 +8,7 @@ define(
|
|||
'Settings/DownloadClient/PneumaticView',
|
||||
'Settings/DownloadClient/NzbgetView',
|
||||
'Mixins/AsModelBoundView',
|
||||
'Mixins/AutoComplete',
|
||||
'bootstrap'
|
||||
], function (Marionette, SabView, BlackholeView, PneumaticView, NzbgetView, AsModelBoundView) {
|
||||
|
||||
|
@ -19,7 +20,8 @@ define(
|
|||
},
|
||||
|
||||
ui: {
|
||||
downloadClientSelect: '.x-download-client'
|
||||
downloadClientSelect: '.x-download-client',
|
||||
downloadedEpisodesFolder: '.x-path'
|
||||
},
|
||||
|
||||
events: {
|
||||
|
@ -32,6 +34,8 @@ define(
|
|||
this.pneumaticView = new PneumaticView({ model: this.model});
|
||||
this.nzbgetView = new NzbgetView({ model: this.model});
|
||||
|
||||
this.ui.downloadedEpisodesFolder.autoComplete('/directories');
|
||||
|
||||
var client = this.model.get('downloadClient');
|
||||
this.refreshUIVisibility(client);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue