From: pines Date: Sun, 6 May 2007 09:03:43 +0000 (+0000) Subject: clear cache on a Refresh All action X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=aa4076abd6fa55c9ca7a9b4b2079dd2db66f195d;p=Evergreen.git clear cache on a Refresh All action git-svn-id: svn://svn.open-ils.org/ILS/trunk@7207 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index 7fb7e11c04..4c238f9d89 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -220,7 +220,8 @@ patron.display.prototype = { try { if (obj.barcode) obj.barcode = p.card().barcode(); netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); - obj.summary_window.g.summary.retrieve(); + //obj.summary_window.g.summary.retrieve(); + obj.refresh_all(); } catch(E) { alert(E); } @@ -575,6 +576,7 @@ patron.display.prototype = { 'refresh_all' : function() { var obj = this; + obj.OpenILS.data.cached_request = {}; obj.OpenILS.data.stash('cached_request'); obj.controller.view.patron_name.setAttribute( 'value','Retrieving...' );