Fix missing params when using Edit inline on SQL message box
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/18440 Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
1a611a9641
commit
d0e1b3a093
@ -1130,7 +1130,7 @@ function onloadSqlQueryEditEvents () {
|
||||
|
||||
var fkCheck = $(this).parent().find('#fk_checks').is(':checked');
|
||||
|
||||
var $form = $('a.inline_edit_sql').prev('form');
|
||||
var $form = $('a.inline_edit_sql').parent().parent().find('form');
|
||||
var $fakeForm = $('<form>', { action: 'index.php?route=/import', method: 'post' })
|
||||
.append($form.find('input[name=server], input[name=db], input[name=table], input[name=token]').clone())
|
||||
.append($('<input>', { type: 'hidden', name: 'show_query', value: 1 }))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user