From 1ee535e6c94060e215e32e2c1683f447646bd8d1 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 17 Feb 2011 18:40:10 +0000 Subject: [PATCH] vestigial 2nd param to session.retrieve from opac now actually changes the behavior (see r19447) in an unexpected way, remove git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@19465 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/common/js/opac_utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/opac/common/js/opac_utils.js b/Open-ILS/web/opac/common/js/opac_utils.js index e585137080..dda49068ec 100644 --- a/Open-ILS/web/opac/common/js/opac_utils.js +++ b/Open-ILS/web/opac/common/js/opac_utils.js @@ -555,7 +555,7 @@ function grabUser(ses, force) { return G.user; /* first make sure the session is valid */ - var request = new Request(FETCH_SESSION, ses, 1 ); + var request = new Request(FETCH_SESSION, ses); request.request.alertEvent = false; request.send(true); var user = request.result(); @@ -569,7 +569,7 @@ function grabUser(ses, force) { function(success, authtoken) { if(success) { ses = authtoken; - var request = new Request(FETCH_SESSION, ses, 1); + var request = new Request(FETCH_SESSION, ses); request.request.alertEvent = false; request.send(true); user = request.result(); -- 2.11.0