[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_7RC1-9383-g00250a9
Marc Delisle
lem9 at users.sourceforge.net
Thu Sep 2 12:26:38 CEST 2010
The branch, master has been updated
via 00250a9f596544596e1762819c7ff6990bf3b34b (commit)
from 56ec4130ae31ef7f6f7e9f121cb66a9b4e6397e4 (commit)
- Log -----------------------------------------------------------------
commit 00250a9f596544596e1762819c7ff6990bf3b34b
Author: ninadsp <ninadsp16289 at gmail.com>
Date: Thu Sep 2 01:06:12 2010 +0530
Modified the Change Password action to get the action on Server Privileges page also working
-----------------------------------------------------------------------
Summary of changes:
js/functions.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/js/functions.js b/js/functions.js
index d89a827..e49d5d0 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -2298,10 +2298,17 @@ $(document).ready(function() {
*/
var the_form = $("#change_password_form");
+ /**
+ * @var this_value String containing the value of the submit button.
+ * Need to append this for the change password form on Server Privileges
+ * page to work
+ */
+ var this_value = $(this).val();
+
PMA_ajaxShowMessage(PMA_messages['strProcessingRequest']);
$(the_form).append('<input type="hidden" name="ajax_request" value="true" />');
- $.post($(the_form).attr('action'), $(the_form).serialize(), function(data) {
+ $.post($(the_form).attr('action'), $(the_form).serialize() + '&change_pw='+ this_value, function(data) {
if(data.success == true) {
PMA_ajaxShowMessage(data.message);
@@ -2309,6 +2316,7 @@ $(document).ready(function() {
$("#topmenucontainer").after(data.sql_query);
$("#change_password_dialog").hide().remove();
+ $("#edit_user_dialog").dialog("close").remove();
}
else {
PMA_ajaxShowMessage(data.error);
hooks/post-receive
--
phpMyAdmin
More information about the Git
mailing list