From: Jason Etheridge Date: Wed, 23 Mar 2011 16:09:13 +0000 (-0400) Subject: clear out OpenILS.data a bit more during login (in case we were logged in previously... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=666127beb4a3743ccb3ba484f22ff0636a0a072a;p=evergreen%2Fequinox.git clear out OpenILS.data a bit more during login (in case we were logged in previously and haven't actually restarted the client) --- 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(