From ac620cc22471855bc22f4209308e06522b7d650d Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Sat, 13 Jun 2015 23:50:23 +0200 Subject: [PATCH] Fix #4957 "With selected" links doesn't work in table browse Signed-off-by: Hugues Peccatte --- ChangeLog | 1 + js/sql.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4f1bcdb10f..8c7e07ba50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -56,6 +56,7 @@ phpMyAdmin - ChangeLog + rfe #726 Batch changing the collation of each column in a table + rfe #1594 Use plain English descriptors instead of script names for icon link destinations + rfe #1541 Disable foreign key checks for some operations +- bug #4957 "With selected" links doesn't work in table browse 4.4.10.0 (not yet released) - bug #4950 Issues in database selection for replication diff --git a/js/sql.js b/js/sql.js index a9f5412d24..e308e30565 100644 --- a/js/sql.js +++ b/js/sql.js @@ -609,7 +609,7 @@ AJAX.registerOnload('sql.js', function () { $('body').on('click', 'form[name="resultsForm"].ajax button[name="submit_mult"], form[name="resultsForm"].ajax input[name="submit_mult"]', function (e) { e.preventDefault(); var $button = $(this); - var $form = $button.parent('form'); + var $form = $button.closest('form'); var submitData = $form.serialize() + '&ajax_request=true&ajax_page_request=true&submit_mult=' + $button.val(); PMA_ajaxShowMessage(); $.post($form.attr('action'), submitData, AJAX.responseHandler);