The branch, master has been updated
via 626477ac8f1db0129f009f2e3076d71f053f81a0 (commit)
from eec80b2a1fd7ef5283b2e8ed4665d02d007b4414 (commit)
- Log -----------------------------------------------------------------
commit 626477ac8f1db0129f009f2e3076d71f053f81a0
Author: Madhura Jayaratne <[email protected]>
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
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git