diff --git a/js/tbl_operations.js b/js/tbl_operations.js index 59b8c534e7..72a1624d6e 100644 --- a/js/tbl_operations.js +++ b/js/tbl_operations.js @@ -254,6 +254,7 @@ AJAX.registerOnload('tbl_operations.js', function () { $(document).on('click', '#drop_view_anchor.ajax', function (event) { event.preventDefault(); + var $link = $(this); /** * @var question String containing the question to be asked for confirmation */ @@ -265,10 +266,7 @@ AJAX.registerOnload('tbl_operations.js', function () { $(this).PMA_confirm(question, $(this).attr('href'), function (url) { var $msgbox = PMA_ajaxShowMessage(PMA_messages.strProcessingRequest); - var params = { - 'is_js_confirmed': '1', - 'ajax_request': true - }; + var params = getJSConfirmCommonParam(this, $link.getPostData()); $.post(url, params, function (data) { if (typeof data !== 'undefined' && data.success === true) { PMA_ajaxRemoveMessage($msgbox);