mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Root Dir cleanup
This commit is contained in:
parent
07312780f1
commit
cece6e9bf6
10 changed files with 144 additions and 59 deletions
13
NzbDrone.Web/Scripts/AutoComplete.js
Normal file
13
NzbDrone.Web/Scripts/AutoComplete.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
function bindFolderAutoComplete(selector) {
|
||||
YUI().use("autocomplete", "autocomplete-highlighters", 'autocomplete-filters', function (Y) {
|
||||
Y.one('body').addClass('yui3-skin-sam');
|
||||
Y.one(selector).plug(Y.Plugin.AutoComplete, {
|
||||
|
||||
|
||||
resultHighlighter: 'startsWith',
|
||||
resultFilters: 'phraseMatch',
|
||||
source: '/Directory/GetDirectories/?q={query}'
|
||||
});
|
||||
})
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue