includes/clientside/static/ajax.js
changeset 436 242353360e37
parent 430 ec90736b9cb9
child 481 07bf15b066bc
--- a/includes/clientside/static/ajax.js	Tue Feb 19 08:32:57 2008 -0500
+++ b/includes/clientside/static/ajax.js	Wed Feb 20 14:38:39 2008 -0500
@@ -750,12 +750,7 @@
 
 function ajaxStartLogin()
 {
-  // IE <6 pseudo-compatibility
-  if ( KILL_SWITCH )
-    return true;
-  ajaxPromptAdminAuth(function(k) {
-      window.location.reload();
-    }, USER_LEVEL_MEMBER);
+  ajaxLogonToMember();
 }
 
 function ajaxStartAdminLogin()
@@ -765,7 +760,7 @@
     return true;
   if ( auth_level < USER_LEVEL_ADMIN )
   {
-    ajaxPromptAdminAuth(function(k) {
+    ajaxLoginInit(function(k) {
       ENANO_SID = k;
       auth_level = USER_LEVEL_ADMIN;
       var loc = makeUrlNS('Special', 'Administration');