[open-ils-commits] r17450 - trunk/Open-ILS/xul/staff_client/chrome/content/auth (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Sep 2 16:10:41 EDT 2010


Author: phasefx
Date: 2010-09-02 16:10:36 -0400 (Thu, 02 Sep 2010)
New Revision: 17450

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/auth/session.js
Log:
fix the problem where login does not work immediately after registering a workstation


Modified: trunk/Open-ILS/xul/staff_client/chrome/content/auth/session.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/auth/session.js	2010-09-02 18:47:35 UTC (rev 17449)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/auth/session.js	2010-09-02 20:10:36 UTC (rev 17450)
@@ -26,6 +26,7 @@
             );
 
             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 = { 



More information about the open-ils-commits mailing list