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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Morpheus/javascripts/ajaxHelper.js')
-rw-r--r--plugins/Morpheus/javascripts/ajaxHelper.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Morpheus/javascripts/ajaxHelper.js b/plugins/Morpheus/javascripts/ajaxHelper.js
index 0f0e60259d..c46984e5ce 100644
--- a/plugins/Morpheus/javascripts/ajaxHelper.js
+++ b/plugins/Morpheus/javascripts/ajaxHelper.js
@@ -439,7 +439,8 @@ function ajaxHelper() {
};
this._isRequestToApiMethod = function () {
- return this.getParams && this.getParams['module'] === 'API' && this.getParams['method'];
+ return (this.getParams && this.getParams['module'] === 'API' && this.getParams['method']) ||
+ (this.postParams && this.postParams['module'] === 'API' && this.postParams['method']);
};
this._getDefaultPostParams = function () {