1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 18:42:42 +01:00

Fixed issue with seriesLookup boxes not autocompleting after adding or removing a rootDir.

This commit is contained in:
Mark McDowall 2011-11-23 23:11:13 -08:00
parent 2aaa23b11d
commit 1317b8fbef
2 changed files with 11 additions and 2 deletions

View File

@ -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) {

View File

@ -74,7 +74,7 @@ function refreshRoot() {
$('#rootDirs').html(data);
});
reloadAddNew();
reloadExistingSeries();
reloadExistingSeries();
}