Initials do not work if there are more than 50 users (the initial form is not present)
This commit is contained in:
@@ -430,14 +430,13 @@ $(document).ready(function() {
|
|||||||
PMA_ajaxShowMessage();
|
PMA_ajaxShowMessage();
|
||||||
|
|
||||||
$.get($(this).attr('href'), {'ajax_request' : true}, function(data) {
|
$.get($(this).attr('href'), {'ajax_request' : true}, function(data) {
|
||||||
$("#usersForm")
|
// This form is not on screen when first entering Privileges
|
||||||
.hide("medium")
|
// if there are more than 50 users
|
||||||
.siblings("#initials_table")
|
$("#usersForm").hide("medium").remove();
|
||||||
.after(data)
|
$("#fieldset_add_user").hide("medium").remove();
|
||||||
.show("medium")
|
$("#initials_table")
|
||||||
.end()
|
.after(data).show("medium")
|
||||||
.remove();
|
.siblings("h2").not(":first").remove();
|
||||||
$("#initials_table").siblings("h2").not(":first").remove();
|
|
||||||
}) // end $.get
|
}) // end $.get
|
||||||
})// end of the paginate users table
|
})// end of the paginate users table
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user