[open-ils-commits] r17451 - branches/rel_2_0/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:11:22 EDT 2010


Author: phasefx
Date: 2010-09-02 16:11:17 -0400 (Thu, 02 Sep 2010)
New Revision: 17451

Modified:
   branches/rel_2_0/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: branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/auth/session.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/auth/session.js	2010-09-02 20:10:36 UTC (rev 17450)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/auth/session.js	2010-09-02 20:11:17 UTC (rev 17451)
@@ -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