The branch, master has been updated
       via  e831df2a32e7aa7f420fca1c65b797891a298fca (commit)
      from  2410839251d72a6947d291f0174a85bcf9b53e53 (commit)


- Log -----------------------------------------------------------------
commit e831df2a32e7aa7f420fca1c65b797891a298fca
Author: Marc Delisle <[email protected]>
Date:   Fri Feb 18 08:23:09 2011 -0500

    Bug #3185710 No window with the confirmation of this operation

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

Summary of changes:
 js/sql.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/js/sql.js b/js/sql.js
index 8173b5e..be6a7ab 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -230,10 +230,17 @@ $(document).ready(function() {
 
         $.post($(this).attr('action'), $(this).serialize() , function(data) {
             if(data.success == true) {
-                // fade out previous success message, if any
+                // fade out previous messages, if any
                 $('.success').fadeOut();
+                $('.sqlquery_message').fadeOut();
                 // show a message that stays on screen
                 $('#sqlqueryform').before(data.message);
+                // and display the query
+                $('<div class="sqlquery_message"></div>')
+                 .html(data.sql_query)
+                 .insertBefore('#sqlqueryform');
+                // unnecessary div that came from data.sql_query
+                $('.notice').remove();
                 $('#sqlqueryresults').show();
                 // this happens if a USE command was typed
                 if (typeof data.reload != 'undefined') {


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