typeahead: don't cache

This commit is contained in:
Laura Klünder 2016-12-15 18:13:07 +01:00
parent 85107978cb
commit 584e99559c

View file

@ -10,7 +10,10 @@ c3nav = {
identify: function(data) { identify: function(data) {
return data.name; return data.name;
}, },
prefetch: '/api/locations/' prefetch: {
url: '/api/locations/',
cache: false
}
}); });
c3nav._typeahead_options = { c3nav._typeahead_options = {
source: c3nav._typeahead_locations, source: c3nav._typeahead_locations,