vestigial 2nd param to session.retrieve from opac now actually changes the behavior...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Feb 2011 18:40:10 +0000 (18:40 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Feb 2011 18:40:10 +0000 (18:40 +0000)
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

index e585137..dda4906 100644 (file)
@@ -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();