The branch, master has been updated via 38ca2f2d8a6341b6c8b1de392bde7f3d3f4dc099 (commit) from a47d29221cb208ba7f7de3027eb19686947eb7cb (commit)
- Log ----------------------------------------------------------------- commit 38ca2f2d8a6341b6c8b1de392bde7f3d3f4dc099 Author: Rouslan Placella rouslan@placella.com Date: Tue Mar 29 12:45:18 2011 -0400
Patch #3253811 Cannot add a new user
-----------------------------------------------------------------------
Summary of changes: js/server_privileges.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/js/server_privileges.js b/js/server_privileges.js index 332ad6b..7b30ccf 100644 --- a/js/server_privileges.js +++ b/js/server_privileges.js @@ -174,7 +174,7 @@ $(document).ready(function() { /** * @var $form stores reference to current form */ - var $form = $(this).find("#addUsersForm"); + var $form = $(this).find("form[name=usersForm]").last();
if( ! checkAddUser($form.get(0)) ) { PMA_ajaxShowMessage(PMA_messages['strFormEmpty']); @@ -211,7 +211,7 @@ $(document).ready(function() { .prepend(data) .find("#fieldset_add_user_footer").hide() //showing the "Go" and "Create User" buttons together will confuse the user .end() - .find("#addUsersForm").append('<input type="hidden" name="ajax_request" value="true" />') + .find("form[name=usersForm]").append('<input type="hidden" name="ajax_request" value="true" />') .end() .dialog({ title: PMA_messages['strAddNewUser'],
hooks/post-receive