Fixed bug #3497151 - Duplicate inline query edit box

This commit is contained in:
Rouslan Placella 2012-03-05 22:28:06 +00:00
parent 3f8783a838
commit 840b7e13e9
2 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,7 @@ phpMyAdmin - ChangeLog
- bug #3482734 [interface] No warning on syntax error in search form
- bug #3423717 [core] Improved detection of SSL connection
+ FULLTEXT support for InnoDB, starting with MySQL 5.6.4
- bug #3497151 [interface] Duplicate inline query edit box
3.4.11.0 (not yet released)
- bug #3486970 [import] Exception on XML import

View File

@ -1141,6 +1141,12 @@ function changeMIMEType(db, table, reference, mime_type)
*/
$(document).ready(function(){
$(".inline_edit_sql").live('click', function(){
if ($('#sql_query_edit').length) {
// An inline query editor is already open,
// we don't want another copy of it
return false;
}
var $form = $(this).prev();
var sql_query = $form.find("input[name='sql_query']").val();
var $inner_sql = $(this).parent().prev().find('.inner_sql');