From: Mike Rylander Date: Tue, 20 Mar 2012 20:16:44 +0000 (-0400) Subject: AutoSuggest: Have the server cache for us if we're not using cookies X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=df055439b452778df68191b052035e3bb4c9a37a;p=evergreen%2Fmasslnc.git AutoSuggest: Have the server cache for us if we're not using cookies Signed-off-by: Mike Rylander Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/web/js/dojo/openils/AutoSuggestStore.js b/Open-ILS/web/js/dojo/openils/AutoSuggestStore.js index 5e134a106b..b36b6a492d 100644 --- a/Open-ILS/web/js/dojo/openils/AutoSuggestStore.js +++ b/Open-ILS/web/js/dojo/openils/AutoSuggestStore.js @@ -75,6 +75,7 @@ if (!dojo._hasResource["openils.AutoSuggestStore"]) { "method": "open-ils.fielder." + key + ".atomic", "params": [{"query": query, "fields": field_list}], "async": true, + "cache": true, "oncomplete": function(r) { var result_arr = openils.Util.readResponse(r);