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:
@@ -264,12 +264,11 @@ $(document).ready(function() {
|
|||||||
$.get($(this).attr('href'), {'ajax_request' : true}, function(data) {
|
$.get($(this).attr('href'), {'ajax_request' : true}, function(data) {
|
||||||
$("#usersForm")
|
$("#usersForm")
|
||||||
.hide("medium")
|
.hide("medium")
|
||||||
.siblings("#topmenucontainer")
|
.siblings("#initials_table")
|
||||||
.after(data)
|
.after(data)
|
||||||
.show("medium")
|
.show("medium")
|
||||||
.end()
|
.end()
|
||||||
.remove();
|
.remove();
|
||||||
$("#topmenucontainer").siblings("#initials_table").not(":first").remove();
|
|
||||||
$("#initials_table").siblings("h2").not(":first").remove();
|
$("#initials_table").siblings("h2").not(":first").remove();
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user