mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 15:32:31 +01:00
Fixed issue with seriesLookup boxes not autocompleting after adding or removing a rootDir.
This commit is contained in:
parent
2aaa23b11d
commit
1317b8fbef
@ -3,10 +3,19 @@
|
||||
cache: false
|
||||
});
|
||||
|
||||
bindAutoCompletes();
|
||||
});
|
||||
|
||||
//
|
||||
$('.folderLookup:not(.ui-autocomplete-input), .seriesLookup:not(.ui-autocomplete-input), .localSeriesLookup:not(.ui-autocomplete-input)').live('focus', function (event) {
|
||||
bindAutoCompletes();
|
||||
});
|
||||
|
||||
function bindAutoCompletes() {
|
||||
bindFolderAutoComplete(".folderLookup");
|
||||
bindSeriesAutoComplete(".seriesLookup");
|
||||
bindLocalSeriesAutoComplete(".localSeriesLookup");
|
||||
});
|
||||
}
|
||||
|
||||
function bindFolderAutoComplete(selector) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user