includes/clientside/static/login.js
changeset 741 a216e412c439
parent 728 067a6173820c
child 779 609e35845ec3
--- a/includes/clientside/static/login.js	Sat Nov 15 18:22:13 2008 -0500
+++ b/includes/clientside/static/login.js	Sat Nov 15 18:23:25 2008 -0500
@@ -19,7 +19,14 @@
     return true;
   ajaxLoginInit(function(k)
     {
-      window.location.reload();
+      if ( on_main_page )
+      {
+        window.location = makeUrl(main_page_members);
+      }
+      else
+      {
+        window.location.reload();
+      }
     }, USER_LEVEL_MEMBER);
 }