Fixed the bug where the initials_table division landed up at the bottom

of the page after an ajax request.
This commit is contained in:
ninadsp
2010-06-30 00:37:25 +05:30
parent fd2e5e226d
commit fe92d38e38

View File

@@ -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();
})
})