Fixed usesessions=false mode. The initStatusOK was not set to true.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Jun 2007 07:23:56 +0000 (07:23 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Jun 2007 07:23:56 +0000 (07:23 +0000)
js/pz2.js

index 950cfa1..0f2a906 100644 (file)
--- a/js/pz2.js
+++ b/js/pz2.js
@@ -1,5 +1,5 @@
 /*
-** $Id: pz2.js,v 1.39 2007-06-22 10:52:09 adam Exp $
+** $Id: pz2.js,v 1.40 2007-06-25 07:23:56 adam Exp $
 ** pz2.js - pazpar2's javascript client library.
 */
 
@@ -161,7 +161,9 @@ pz2.prototype =
                         setTimeout("__myself.init()", 1000);
                 }
             );
-        }
+        } else {
+            __myself.initStatusOK = true;
+       }
     },
     // no need to ping explicitly
     ping: function ()