fix the problem where login does not work immediately after registering a workstation
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Sep 2010 20:10:36 +0000 (20:10 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Sep 2010 20:10:36 +0000 (20:10 +0000)
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

index 405c303..4585a07 100644 (file)
@@ -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 = {