Visitar URL original
Fix missing params when using Edit inline on SQL message box · phpmyadmin/phpmyadmin@d0e1b3a · GitHub
Skip to content

Commit d0e1b3a

Browse files
committed
Fix missing params when using Edit inline on SQL message box
Fixes #18440 Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 1a611a9 commit d0e1b3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎js/src/modules/functions.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ function onloadSqlQueryEditEvents () {
11301130

11311131
var fkCheck = $(this).parent().find('#fk_checks').is(':checked');
11321132

1133-
var $form = $('a.inline_edit_sql').prev('form');
1133+
var $form = $('a.inline_edit_sql').parent().parent().find('form');
11341134
var $fakeForm = $('<form>', { action: 'index.php?route=/import', method: 'post' })
11351135
.append($form.find('input[name=server], input[name=db], input[name=table], input[name=token]').clone())
11361136
.append($('<input>', { type: 'hidden', name: 'show_query', value: 1 }))

0 commit comments

Comments
 (0)