clear cache on a Refresh All action
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 6 May 2007 09:03:43 +0000 (09:03 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 6 May 2007 09:03:43 +0000 (09:03 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7207 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/display.js

index 7fb7e11..4c238f9 100644 (file)
@@ -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...'
                );