The branch, master has been updated
       via  192d0edae612239aa13e36b8f1f2628fb41ed148 (commit)
      from  bcc3ed17a21fff47fc024af215a387709cf2c99d (commit)


- Log -----------------------------------------------------------------
commit 192d0edae612239aa13e36b8f1f2628fb41ed148
Author: Madhura Jayaratne <[email protected]>
Date:   Sun Feb 20 08:59:07 2011 +0530

    Bug #3187078 Main page ajax results tiny.

-----------------------------------------------------------------------

Summary of changes:
 js/functions.js   |    4 ----
 user_password.php |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/js/functions.js b/js/functions.js
index 07c6237..28e89f0 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -2016,11 +2016,7 @@ $(document).ready(function() {
 
         $.post($(the_form).attr('action'), $(the_form).serialize() + 
'&change_pw='+ this_value, function(data) {
             if(data.success == true) {
-
-                PMA_ajaxShowMessage(data.message);
-
                 $("#topmenucontainer").after(data.sql_query);
-
                 $("#change_password_dialog").hide().remove();
                 $("#edit_user_dialog").dialog("close").remove();
             }
diff --git a/user_password.php b/user_password.php
index d3b577b..9787cc1 100644
--- a/user_password.php
+++ b/user_password.php
@@ -110,7 +110,7 @@ if (isset($_REQUEST['nopass'])) {
         $message = PMA_Message::success(__('The profile has been updated.'));
 
         if($GLOBALS['is_ajax_request'] == true) {
-            $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query, 
'success');
+            $extra_data['sql_query'] = PMA_showMessage($message, $sql_query, 
'success');
             PMA_ajaxResponse($message, true, $extra_data);
         }
 


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to