diff options
Diffstat (limited to 'plugins/Morpheus/javascripts/ajaxHelper.js')
-rw-r--r-- | plugins/Morpheus/javascripts/ajaxHelper.js | 3 |
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 () { |