From 666127beb4a3743ccb3ba484f22ff0636a0a072a Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 23 Mar 2011 12:09:13 -0400 Subject: [PATCH] clear out OpenILS.data a bit more during login (in case we were logged in previously and haven't actually restarted the client) --- Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js index 87d75c1683..b7937968d1 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js @@ -531,6 +531,9 @@ OpenILS.data.prototype = { } } + // If we don't clear these, then things like obj.list['acnp_for_lib_1'] may stick around + obj.hash = {}; obj.list = {}; + this.chain = []; this.chain.push( -- 2.11.0