diff options
author | Michal Čihař <michal@cihar.com> | 2017-12-15 14:35:00 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-12-15 14:35:00 +0300 |
commit | 2bc87216f0c39e11ea8efd6bedd903aa8ffb51f9 (patch) | |
tree | 6b1e546e074e49af06f5e6b659b96eccd9704cce /js/rte.js | |
parent | a450d01546158805ced6b333255e62e46f9a3a95 (diff) |
Adjust RTE oprations to use POST
Issue #13866
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'js/rte.js')
-rw-r--r-- | js/rte.js | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -401,10 +401,7 @@ RTE.COMMON = { * the AJAX message shown to the user */ var $msg = PMA_ajaxShowMessage(PMA_messages.strProcessingRequest); - var params = { - 'is_js_confirmed': 1, - 'ajax_request': true - }; + var params = getJSConfirmCommonParam(this, $this.attr('data-post')); $.post(url, params, function (data) { if (data.success === true) { /** @@ -479,10 +476,7 @@ RTE.COMMON = { * @var $curr_row Object containing reference to the current row */ var $curr_row = $anchor.parents('tr'); - var params = { - 'is_js_confirmed': 1, - 'ajax_request': true - }; + var params = getJSConfirmCommonParam(this, $anchor.attr('data-post')); $.post($anchor.attr('href'), params, function (data) { returnCount++; if (data.success === true) { |