do not keep a cache of autocomplete values

This commit is contained in:
Frédéric Péters 2011-12-09 16:59:42 +01:00
parent 29337beaa3
commit 7b2cd85b3c
1 changed files with 2 additions and 2 deletions

View File

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