From 76143e5ad7c7e85ed21432f4ee8660605fe38b88 Mon Sep 17 00:00:00 2001
From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 2 Sep 2010 20:10:36 +0000
Subject: [PATCH] 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
---
 Open-ILS/xul/staff_client/chrome/content/auth/session.js | 1 +
 1 file changed, 1 insertion(+)

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 405c303e9e..4585a070a5 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 = { 
-- 
2.11.0