not launching timer on timeout==0
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Mar 2006 19:06:54 +0000 (19:06 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Mar 2006 19:06:54 +0000 (19:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3240 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/opac_utils.js

index cd9a078..6260bef 100644 (file)
@@ -318,8 +318,7 @@ function grabUser(ses, force) {
        var at = getAuthtime();
        if(isXUL()) at = xulG['authtime'];
 
-       new AuthTimer(at).run(); /* needs debugging... */
-
+       if(at) new AuthTimer(at).run(); 
        return G.user;
 }