includes/clientside/static/rank-manager.js
changeset 699 c7d737202d59
parent 651 ce9d78d7251d
child 779 609e35845ec3
--- a/includes/clientside/static/rank-manager.js	Sun Aug 17 23:24:41 2008 -0400
+++ b/includes/clientside/static/rank-manager.js	Thu Aug 21 08:24:04 2008 -0400
@@ -681,7 +681,8 @@
 {
   var whitey = whiteOutElement(editor.wrapperdiv);
   
-  load_component('SpryEffects');
+  load_component('jquery');
+  load_component('jquery-ui');
   
   var json_packet = {
     mode: 'delete_rank',
@@ -721,13 +722,13 @@
                 edit_link.parentNode.removeChild(edit_link);
               }
               // collapse and destroy the editor
-              new Spry.Effect.Blind(editor.wrapperdiv, { duration: 500, finish: function()
+              $(editor.wrapperdiv).hide("blind", {}, 500, function()
                   {
                     // when the animation finishes, nuke the whole thing
                     var container = document.getElementById('admin_ranks_container_right');
                     container.innerHTML = $lang.get('acpur_msg_select_rank');
                   }
-                }).start();
+                );
             }, 1500);
         }
         else