[open-ils-commits] r7881 - trunk/Open-ILS/xul/staff_client/chrome/content/util

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Oct 12 14:41:06 EDT 2007


Author: phasefx
Date: 2007-10-12 14:29:01 -0400 (Fri, 12 Oct 2007)
New Revision: 7881

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js
Log:
Let's go back to old way of passing data around for this.. I think there's some bug with remote<->chrome in the util.window modal xulG mechanism

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js	2007-10-12 06:55:06 UTC (rev 7880)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js	2007-10-12 18:29:01 UTC (rev 7881)
@@ -257,16 +257,16 @@
 		);
 		JSAN.use('OpenILS.data');
 		var data = new OpenILS.data(); data.init({'via':'stash'});
-		if (typeof my_xulG.temporary_session != 'undefined' && my_xulG.temporary_session != '') {
-			data.session.key = my_xulG.temporary_session.key; 
-			data.session.authtime = my_xulG.temporary_session.authtime; 
+		if (typeof data.temporary_session != 'undefined' && data.temporary_session != '') {
+			data.session.key = data.temporary_session.key; 
+			data.session.authtime = data.temporary_session.authtime; 
 			data.stash('session');
 			if (! data.list.au ) data.list.au = [];
-			data.list.au[0] = JSON2js( my_xulG.temporary_session.usr );
+			data.list.au[0] = JSON2js( data.temporary_session.usr );
 			data.stash('list');
 			obj.reset_titlebars(data);
 			return true;
-		} else { alert('here2'); }
+		} else { alert('Error applying new auth session in network.js'); }
 		return false;
 
 		} catch(E) {



More information about the open-ils-commits mailing list