includes/clientside/static/login.js
changeset 883 ac2cef868fa9
parent 843 4415e50e4e84
child 887 cb96d038baff
--- a/includes/clientside/static/login.js	Sun Mar 22 00:45:21 2009 -0400
+++ b/includes/clientside/static/login.js	Sun Mar 22 00:45:56 2009 -0400
@@ -1207,10 +1207,13 @@
         targetpage();
       }
     }, level);
-  ajaxLoginShowFriendlyError({
-      error_code: 'admin_session_timed_out',
-      respawn_info: {}
-  });
+  if ( typeof(adminpage) == 'string' )
+  {
+    ajaxLoginShowFriendlyError({
+        error_code: 'admin_session_timed_out',
+        respawn_info: {}
+    });
+  }
 }
 
 window.ajaxRenewSession = function()