[open-ils-commits] r7912 - branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 22 02:06:17 EDT 2007


Author: phasefx
Date: 2007-10-22 01:52:52 -0400 (Mon, 22 Oct 2007)
New Revision: 7912

Modified:
   branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/network.js
Log:
regression with Change Operator

Modified: branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/network.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/network.js	2007-10-22 05:51:49 UTC (rev 7911)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/network.js	2007-10-22 05:52:52 UTC (rev 7912)
@@ -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