From 7ff354f851bb854ab57c565535f96fec3dec2160 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 22 Oct 2007 05:52:52 +0000 Subject: [PATCH] regression with Change Operator git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7912 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/network.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/network.js b/Open-ILS/xul/staff_client/chrome/content/util/network.js index 227568e1dc..871c5d7ca8 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/network.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/network.js @@ -257,16 +257,16 @@ util.network.prototype = { ); 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) { -- 2.11.0