[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0RC2-267-g626477a

Madhura Jayaratne madhuracj at users.sourceforge.net
Sun May 1 08:03:16 CEST 2011


The branch, master has been updated
       via  626477ac8f1db0129f009f2e3076d71f053f81a0 (commit)
      from  eec80b2a1fd7ef5283b2e8ed4665d02d007b4414 (commit)


- Log -----------------------------------------------------------------
commit 626477ac8f1db0129f009f2e3076d71f053f81a0
Author: Madhura Jayaratne <madhura.cj at gmail.com>
Date:   Sun May 1 11:31:55 2011 +0530

    Bug #3295529 - SQL tab multiple AJAX requests on one click

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

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

diff --git a/js/sql.js b/js/sql.js
index 77717a7..bd068cf 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -274,6 +274,8 @@ $(document).ready(function() {
                 $('#sqlqueryresults').show();
                 // this happens if a USE command was typed
                 if (typeof data.reload != 'undefined') {
+                    // Unbind the submit event before reloading. See bug #3295529
+                    $("#sqlqueryform.ajax").die('submit');
                     $form.find('input[name=db]').val(data.db);
                     // need to regenerate the whole upper part
                     $form.find('input[name=ajax_request]').remove();


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list