Skip to content

Commit

Permalink
fix cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Nov 7, 2014
1 parent f062a78 commit 2b120de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/js/tokeninput.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ $.TokenList = function (input, url_or_data, settings) {

// Do the actual search
function run_search(query, val) {
var cache_key = query + computeURL();
var cache_key = val + computeURL();
var cached_results = cache.get(cache_key);
if(cached_results) {
populate_dropdown(query, cached_results);
Expand Down

0 comments on commit 2b120de

Please sign in to comment.