|
|
|
|
24
|
serviceUrl : ARTIST_AUTOCOMPLETE_URL,
|
24
|
serviceUrl : ARTIST_AUTOCOMPLETE_URL,
|
25
|
});
|
25
|
});
|
26
|
|
26
|
|
27
|
- if (url.path == 'torrents' || url.path == 'upload' || url.path == 'artist' || (url.path == 'requests' && url.query['action'] == 'new') || url.path == 'collages') {
|
|
|
|
|
27
|
+ if (url.path == 'torrents' || url.path == 'upload' || url.path == 'artist' || (url.path == 'requests' && url.query['action'] == 'new')) {
|
28
|
$("#artist" + SELECTOR).autocomplete({
|
28
|
$("#artist" + SELECTOR).autocomplete({
|
29
|
deferRequestBy: 300,
|
29
|
deferRequestBy: 300,
|
30
|
serviceUrl : ARTIST_AUTOCOMPLETE_URL
|
30
|
serviceUrl : ARTIST_AUTOCOMPLETE_URL
|
31
|
});
|
31
|
});
|
32
|
- $("#artistsimilar" + SELECTOR).autocomplete({
|
|
|
33
|
- deferRequestBy: 300,
|
|
|
34
|
- serviceUrl : ARTIST_AUTOCOMPLETE_URL
|
|
|
35
|
- });
|
|
|
36
|
}
|
32
|
}
|
37
|
if (url.path == 'torrents' || url.path == 'upload' || url.path == 'collages' || url.path == 'requests' || url.path == 'top10' || (url.path == 'requests' && url.query['action'] == 'new')) {
|
33
|
if (url.path == 'torrents' || url.path == 'upload' || url.path == 'collages' || url.path == 'requests' || url.path == 'top10' || (url.path == 'requests' && url.query['action'] == 'new')) {
|
38
|
$("#tags" + SELECTOR).autocomplete({
|
34
|
$("#tags" + SELECTOR).autocomplete({
|