Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/rte.js
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-12-15 14:35:00 +0300
committerMichal Čihař <michal@cihar.com>2017-12-15 14:35:00 +0300
commit2bc87216f0c39e11ea8efd6bedd903aa8ffb51f9 (patch)
tree6b1e546e074e49af06f5e6b659b96eccd9704cce /js/rte.js
parenta450d01546158805ced6b333255e62e46f9a3a95 (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.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/js/rte.js b/js/rte.js
index 6eb3d88fdc..b8f1b0b7d3 100644
--- a/js/rte.js
+++ b/js/rte.js
@@ -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) {