From fe92d38e388e8db524b79d44ccf3359491e7f5fc Mon Sep 17 00:00:00 2001 From: ninadsp Date: Wed, 30 Jun 2010 00:37:25 +0530 Subject: [PATCH] Fixed the bug where the initials_table division landed up at the bottom of the page after an ajax request. --- js/server_privileges.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/server_privileges.js b/js/server_privileges.js index 558de6feb..362a27b7b 100755 --- a/js/server_privileges.js +++ b/js/server_privileges.js @@ -264,12 +264,11 @@ $(document).ready(function() { $.get($(this).attr('href'), {'ajax_request' : true}, function(data) { $("#usersForm") .hide("medium") - .siblings("#topmenucontainer") + .siblings("#initials_table") .after(data) .show("medium") .end() .remove(); - $("#topmenucontainer").siblings("#initials_table").not(":first").remove(); $("#initials_table").siblings("h2").not(":first").remove(); }) })