includes/clientside/static/login.js
changeset 907 44851d7e9bda
parent 899 df88cedf0995
child 1001 79770fb4132a
--- a/includes/clientside/static/login.js	Mon Apr 13 14:43:28 2009 -0400
+++ b/includes/clientside/static/login.js	Mon Apr 13 16:57:20 2009 -0400
@@ -1123,7 +1123,17 @@
         color: 'blue',
         onclick: function()
         {
-          miniPromptDestroy(this);
+          var mp = miniPromptGetParent(this);
+          var whitey = whiteOutMiniPrompt(mp);
+          setTimeout(function()
+            {
+              whiteOutReportSuccess(whitey);
+              setTimeout(function()
+                {
+                  miniPromptDestroy(mp);
+                }, 1250);
+            }, 1000);
+          
           ajaxLoginPerformRequest({
               mode:  'logout',
               level: auth_level,
@@ -1408,4 +1418,5 @@
     }
     window.location.hash = '#auth:false';
   }
+  window.stdAjaxPrefix = append_sid(scriptPath + '/ajax.php?title=' + title);
 }