From: phasefx Date: Thu, 2 Sep 2010 20:10:36 +0000 (+0000) Subject: fix the problem where login does not work immediately after registering a workstation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=76143e5ad7c7e85ed21432f4ee8660605fe38b88;p=evergreen%2Fbjwebb.git fix the problem where login does not work immediately after registering a workstation git-svn-id: svn://svn.open-ils.org/ILS/trunk@17450 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/session.js b/Open-ILS/xul/staff_client/chrome/content/auth/session.js index 405c303e9..4585a070a 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/session.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/session.js @@ -26,6 +26,7 @@ auth.session.prototype = { ); if (init) { + if (xulG._data) { delete xulG._data; } // quick kludge; we were re-using a poisoned OpenILS.data (from ws_info.xul?) where js2JSON (and maybe other stuff) does not exist JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.stash_retrieve(); var params = {