The branch, master has been updated via 653debdc0ec11df4ab7934b9bac3262edd879812 (commit) from 1be1e8bcee04d9b4979e7390442d70dc98073b68 (commit)
- Log ----------------------------------------------------------------- commit 653debdc0ec11df4ab7934b9bac3262edd879812 Author: Marc Delisle marc@infomarc.info Date: Fri Jan 7 10:22:08 2011 -0500
Initials do not work if there are more than 50 users (the initial form is not present)
-----------------------------------------------------------------------
Summary of changes: js/server_privileges.js | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/js/server_privileges.js b/js/server_privileges.js index 6892376..f2458f7 100644 --- a/js/server_privileges.js +++ b/js/server_privileges.js @@ -430,14 +430,13 @@ $(document).ready(function() { PMA_ajaxShowMessage();
$.get($(this).attr('href'), {'ajax_request' : true}, function(data) { - $("#usersForm") - .hide("medium") - .siblings("#initials_table") - .after(data) - .show("medium") - .end() - .remove(); - $("#initials_table").siblings("h2").not(":first").remove(); + // This form is not on screen when first entering Privileges + // if there are more than 50 users + $("#usersForm").hide("medium").remove(); + $("#fieldset_add_user").hide("medium").remove(); + $("#initials_table") + .after(data).show("medium") + .siblings("h2").not(":first").remove(); }) // end $.get })// end of the paginate users table
hooks/post-receive