do not keep a cache of autocomplete values
This commit is contained in:
parent
29337beaa3
commit
7b2cd85b3c
|
@ -64,11 +64,11 @@ if(typeof(String.prototype.trim) === "undefined") {
|
|||
(function($) {
|
||||
$().ready(function() {
|
||||
$('.author-autocomplete').each(sync_authors).autocomplete(PORTAL_URL+'/listAuthors', {
|
||||
'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready);
|
||||
'cacheLength': 0, 'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready);
|
||||
$('.polgroup-autocomplete').each(sync_polgroups).autocomplete(PORTAL_URL+'/listPolgroups', {
|
||||
}).result(autocomplete_ready);
|
||||
$('.topic-autocomplete').each(sync_topics).autocomplete(PORTAL_URL+'/listTopics', {
|
||||
'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready);
|
||||
'cacheLength': 0, 'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready);
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
|
|
Reference in New Issue