From c7c3a48ac3d5eab119aad6a7055f9724e74f42fb Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 14 Nov 2005 17:20:34 +0000 Subject: [PATCH 1/1] re-enabled client ID caching because it makes a noticable speed difference ...need to debug the caching more so IE won't blow up git-svn-id: svn://svn.open-ils.org/ILS/trunk@2022 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/mresult.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/web/opac/skin/default/js/mresult.js b/Open-ILS/web/opac/skin/default/js/mresult.js index 9c84c1ab4e..8d18919129 100644 --- a/Open-ILS/web/opac/skin/default/js/mresult.js +++ b/Open-ILS/web/opac/skin/default/js/mresult.js @@ -46,8 +46,8 @@ function mresultHandleCount(r) { function mresultCollectIds(method) { if(getOffset() == 0) { - //idsCookie.put(COOKIE_IDS,""); - //idsCookie.write(); + idsCookie.put(COOKIE_IDS,""); + idsCookie.write(); } else { var c = JSON2js(idsCookie.get(COOKIE_IDS)); @@ -89,8 +89,8 @@ function mresultSetRecords(idstruct) { ranks[x] = parseFloat(idstruct[x - o][1]); onlyrecord[x] = parseInt(idstruct[x - o][2]); } - //idsCookie.put(COOKIE_IDS, js2JSON({ recs: records, ranks : ranks }) ); - //idsCookie.write(); + idsCookie.put(COOKIE_IDS, js2JSON({ recs: records, ranks : ranks }) ); + idsCookie.write(); TOPRANK = ranks[getOffset()]; } -- 2.43.2