From: phasefx Date: Fri, 12 Oct 2007 18:29:01 +0000 (+0000) Subject: Let's go back to old way of passing data around for this.. I think there's some bug... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=98c1dec01c1657b179a462147557fc1a1b5972eb;p=Evergreen.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@7881 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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) {